in reply to Minor problem with 'save destination as' for code.
Please ignore the following, which was my error but I preserve for posterity. I have been assured that this site does not do browser sniffing and I apologise for jumping to conclusions (although it did seem to be the only logical answer) and if my tone may have seemed offensive.
If only it were that simple; the problem is deeper-rooted than one might think. I've done a couple of tests which make it look like the code driving this site is engaging in a form of anti-social behaviour called "browser sniffing"
Try taking the download link and retrieving it with wget or lynx -source or just plain GET if you have it on your system. It gets you a completely different thing to what you would expect based on experiences with a mainstream visual user agent (browser).
Why do I call browser sniffing antisocial? Because it is poor practice from a web accessibility point of view. Serving different content based on the value of $ENV{HTTP_USER_AGENT} takes control away from the user (never a good thing) and makes what we get unpredictable. Consider a blind person accessing this site using Lynx and EMACSpeak (I know personally at least one person who uses this combo). When they select the 'download' link, they will be presented with something quite unlike what they are expecting. Anyone who wants to see what happens should just open one of these download links in lynx. (For those who can't be bothered, you actually get taken to the Monastery Gates.)
I am not entirely sure why Perl Monks does this - I'm sure that the motives are honourable. However, browser sniffing a) discriminates against those using different user agents and b) is useless against robots as the first thing that a robot writer does is to make their software pretend to be Firefox, IE or Googlebot. Any of the site ops like to comment on why this is done?
At the end of the day, I can't say whether browser sniffing is causing your problem or not - it certainly doesn't help trying to trouble-shoot it. I only discovered it by chance, when trying to retrieve the download links using command line tools, in order to try to solve your problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Minor problem with 'save destination as' for code.
by hossman (Prior) on Oct 20, 2008 at 00:59 UTC | |
by smiffy (Pilgrim) on Oct 20, 2008 at 03:04 UTC | |
by tye (Sage) on Oct 20, 2008 at 03:49 UTC | |
|
Re^2: Minor problem with 'save destination as' for code.
by blazar (Canon) on Oct 20, 2008 at 11:11 UTC | |
by smiffy (Pilgrim) on Oct 20, 2008 at 21:00 UTC |