Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Problem with www::mechanize Select. (gzip)

by tye (Cardinal)
on Nov 25, 2012 at 20:01 UTC ( #1005520=note: print w/ replies, xml ) Need Help??


in reply to Problem with www::mechanize Select.

Looks to me like the problem is that the web site is sending compressed results even when the request says that compressed results are not accepted. A quick search of WWW::Mechanize documentation turned up "We add a Referer header, as well as header to note that we can accept gzip encoded content, if Compress::Zlib is installed."

So it looks like you can fix your problem by installing the Compress::Zlib module.

- tye        


Comment on Re: Problem with www::mechanize Select. (gzip)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-07-29 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls