Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by friedo (Prior)
on Dec 07, 2008 at 15:11 UTC ( #728722=note: print w/ replies, xml ) Need Help??


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

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!


Comment on Re^2: Dealing with binary data and WWW::Mechanize and encoding stuff
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2015-07-07 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls