Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by tye (Sage)
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?
[thezip]: oops... My mind is backwards (this works): find . -mindepth 2 -name "*.csv" | xargs wc -l

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2016-12-06 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (113 votes). Check out past polls.