in reply to Changing WWW::Mechanize Request to obey ModSecurity rules
Mechanize wants to send something like this:
Wants to send or actually did send. What's in the HTTP::Request isn't what gets sent. You need to listen to the wire to see what's actually set. You didn't specify what version of LWP you are using, but the latest one claims to use HTTP/1.1 by default (which will use the Host header as in your second snippet).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Changing WWW::Mechanize Request to obey ModSecurity rules
by pdc (Initiate) on Feb 26, 2009 at 14:15 UTC | |
by ikegami (Patriarch) on Feb 26, 2009 at 14:43 UTC | |
by Anonymous Monk on Feb 28, 2009 at 08:14 UTC | |
by missingthepoint (Friar) on Feb 28, 2009 at 13:20 UTC |