in reply to How to see WWW:Mechanize request headers
:P
perl -MWWW::Mechanize -le'print WWW::Mechanize->new->get("http://perlm +onks.org")->request->as_string' GET http://perlmonks.org Accept-Encoding: gzip User-Agent: WWW-Mechanize/1.60
The $mech->request object is an HTTP::Request so you can use ->header and such on it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to see WWW:Mechanize request headers
by Anonymous Monk on Aug 26, 2014 at 18:23 UTC |