Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Dealing with binary data and WWW::Mechanize and encoding stuff

by Anonymous Monk
on Dec 07, 2008 at 08:44 UTC ( [id://728675]=note: print w/replies, xml ) Need Help??


in reply to Dealing with binary data and WWW::Mechanize and encoding stuff

Wide character - memGzip, could try decoded_content
  • Comment on Re: Dealing with binary data and WWW::Mechanize and encoding stuff

Replies are listed 'Best First'.
Re^2: Dealing with binary data and WWW::Mechanize and encoding stuff
by friedo (Prior) on Dec 07, 2008 at 15:11 UTC

    That was the clue I needed. The underlying content method from HTTP::Message will get me the original unmolested byte string from the server. So all I have to do is use $mech->response->content instead of $mech->content, and it works perfectly.

    Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-19 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found