in reply to Re: Mocking request headers with Test::WWW::Mechanize?
in thread Mocking request headers with Test::WWW::Mechanize?

Wow! Yes, that was easy enough. I assumed add_header was only for additional headers, not for modifying the "core" headers. But that did it exactly. Thank you!