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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://911878]
help
Chatterbox?
[Discipulus]: many monks want to be hired tonight, other haired and some aired
[Lady_Aleena]: Discipulus, do glob recurse?
[Lady_Aleena]: s/do/does/;
LanX wants to be fired
[Discipulus]: i fear no
[Discipulus]: i invented also 'gired'
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-04-23 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.