Maybe you can set the Host header using the ->add_header( Host => 'my.example.com') method from WWW::Mechanize? This should add/remove headers sent with every request.
In reply to Re: Mocking request headers with Test::WWW::Mechanize?
by Corion
in thread Mocking request headers with Test::WWW::Mechanize?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |