Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Mocking request headers with Test::WWW::Mechanize?

by Anonymous Monk
on Oct 25, 2021 at 14:37 UTC ( [id://11138017]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-19 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found