|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Uncompress Gzip File From WWW::Mechanizeby CoVAX (Beadle) |
| on Feb 09, 2015 at 01:49 UTC ( [id://1115985]=note: print w/replies, xml ) | Need Help?? |
|
Presumably you specified (via default_header()) the request header, 'Accept-Encoding' => 'gzip, deflate' beforehand, so you can do this: my $gunzipped = $mech->content( 'decoded_by_headers' => 1 );
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||