A
adiakin
Hello, I have a trouble with using HTTP::Response with decoding gzipped
data
lwp-request -H "Accept-Encoding: gzip, deflate" -SUed host.com return
Content-Encoding: gzip,
but when I write
$ua->agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
$ua->default_header("Accept-Encoding" => "gzip, deflate");
my $response = $ua->get($baseUrl . $aid);
print $response->decoded_content;
I get that $response->decoded_content not defined at all
$response->content_encoding returns gzip
LWP version 5.803
Can anybody help me?
data
lwp-request -H "Accept-Encoding: gzip, deflate" -SUed host.com return
Content-Encoding: gzip,
but when I write
$ua->agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
$ua->default_header("Accept-Encoding" => "gzip, deflate");
my $response = $ua->get($baseUrl . $aid);
print $response->decoded_content;
I get that $response->decoded_content not defined at all
$response->content_encoding returns gzip
LWP version 5.803
Can anybody help me?