R
Robert
Hi,
Does anyone know how to add extra request header lines with LWP?
I've seen this way but thought I'd see if there's a 'better' way:
my @headers = (
'User-Agent' => 'Mozilla/4.76 [en] (Win98)',
'Accept-Language' => 'en',
'Accept-Charset' => 'iso-8859-1',
'Accept-Encoding' => 'gzip',
'Accept' => 'image/gif, image/jpeg');
my $response = $browser->get($url, @headers);
And, maybe more importantly does anyone know where I can find a list
of how different browser headers look?
Does anyone know how to add extra request header lines with LWP?
I've seen this way but thought I'd see if there's a 'better' way:
my @headers = (
'User-Agent' => 'Mozilla/4.76 [en] (Win98)',
'Accept-Language' => 'en',
'Accept-Charset' => 'iso-8859-1',
'Accept-Encoding' => 'gzip',
'Accept' => 'image/gif, image/jpeg');
my $response = $browser->get($url, @headers);
And, maybe more importantly does anyone know where I can find a list
of how different browser headers look?