Authen-Simple-WebForm
view release on metacpan or search on metacpan
headers.
You can use this if you need to further mask your client to appear
as a popular web browser. Some misbehaved servers may reject your
script if these are not set.
Example: (pose as netscape)
extra_headers => [
'User-Agent' => 'Mozilla/4.76 [en] (Win98; U)',
'Accept' => 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*',
'Accept-Charset' => 'iso-8859-1,*,utf-8',
'Accept-Language' => 'en-US'
],
None submitted by default.
lwp_user_agent
The HTTP User Agent string to submit to the server in the HTTP
headers.
lib/Authen/Simple/WebForm.pm view on Meta::CPAN
Array reference of key => value pairs, representing additional HTTP headers.
You can use this if you need to further mask your client to appear as
a popular web browser. Some misbehaved servers may reject your script
if these are not set.
Example: (pose as netscape)
extra_headers => [
'User-Agent' => 'Mozilla/4.76 [en] (Win98; U)',
'Accept' => 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*',
'Accept-Charset' => 'iso-8859-1,*,utf-8',
'Accept-Language' => 'en-US'
],
None submitted by default.
=item lwp_user_agent
The HTTP User Agent string to submit to the server in the HTTP headers.
( run in 1.085 second using v1.01-cache-2.11-cpan-788537b7465 )