Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Minor problem with 'save destination as' for code.

by hossman (Prior)
on Oct 20, 2008 at 00:59 UTC ( #718111=note: print w/replies, xml ) Need Help??

in reply to Re: Minor problem with 'save destination as' for code.
in thread Minor problem with 'save destination as' for code.

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).

I don't know what you get, but i get exactly what i expect, and exactly what i'm getting when sniffing the traffic in firefox (the only exception being the lack of an X-Pad header which has nothing to do with PerlMonks doing any browser detection).

Perhaps instead of making vague claims that PM is doing bad things and saying "see for yourself" you could be a bit more explicit and say "this is what i see ... and i think it's bad."

  • Comment on Re^2: Minor problem with 'save destination as' for code.

Replies are listed 'Best First'.
Re^3: Minor problem with 'save destination as' for code.
by smiffy (Pilgrim) on Oct 20, 2008 at 03:04 UTC

    I thought that I had made what I was getting clear but, if it was not, I apologise. (My original post actually states " actually get taken to the Monastery Gates".)

    The test I made was:

    • In Firefox, go to one of the 'Download' links in a node.
    • Right click the link.
    • From the context menu, select 'Copy link location'. (I have verified that what is copied is what shows at the bottom of Firefox when hovering over the link.)
    • Paste the link as an argument for 'lynx'.
    • Lynx loads the 'Monastery Gates' page, NOT the content of the <code></code> block to which the 'Download' link relates.

    The above behaviour is the same if the link is retrieved using wget.

    The main reason that I consider this behaviour bad is that the link target is other than expected (Monastery Gates, not content of <code></code> block.)

      That URL contains semicolons. My guess is that you didn't properly quote the URL. You'd get the gates if you didn't manage to keep the ";node_id=" as part of the URL passed to your GET tool.

      The site isn't doing "anti-social" "browser sniffing" (really, it isn't). I'll refrain from expressing with insulting terms the conclusions I've jumped to as to what you are doing. (:

      - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://718111]
[stevieb]: choroba just gleaned your post about Module::Starter. I use it too, pretty much for every dist I write
[LanX]: I remeber M::S (it was dialog driven?) to be buggy
[stevieb]: As far as Dist::Zilla goes, I don't like installing that other than on systems my test platorm runs on. I find it too heavy. I prefer being able to glean a Makefile.PL
[LanX]: what's frustrating me is that a distribution has lots of dupplicated info
[stevieb]: LanX I don't know if it's dialog driven; I just use it in the simplest of terms (just run module-starter at the CLI, and the very last couple of lines are how I use it.
[stevieb]: which dist are you speaking of regarding dups, LanX?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-08-18 20:52 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (310 votes). Check out past polls.