Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^3: Mechanize Returns Garbled Content

by ikegami (Pope)
on Jun 29, 2011 at 00:17 UTC ( #911878=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Mechanize Returns Garbled Content
in thread Mechanize Returns Garbled Content

Content-Encoding: gzip accounts for the garbling, but WWW::Mechanize uses ->decoded_content to handle that. Try upgrading

  • WWW::Mechanize
  • IO::Uncompress::Gunzip
  • HTTP::Message
Comment on Re^3: Mechanize Returns Garbled Content
Select or Download Code
Replies are listed 'Best First'.
Re^4: Mechanize Returns Garbled Content
by trwww (Priest) on Jun 29, 2011 at 00:43 UTC

    Try upgrading

    Doh, I can't believe I'd guess that some type of network thingamabob would be the culprit before this. I hope I remember that next time...

      Well, there are differences in the responses (the character set and the content encoding are different), and that could be caused by some type of network thingamabob.

      The catch is that I think the relevant difference should be handled by the module automatically.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-05-29 23:28 GMT
Find Nodes?
    Voting Booth?