Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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

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 cooling their heels in the Monastery: (7)
As of 2016-10-23 08:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.