[Catalyst] Changing the request->user_agent
Bogdan Lucaciu
bogdan at wiz.ro
Tue Mar 20 23:39:41 GMT 2007
On Tuesday 20 March 2007 18:48, Adeola Awoyemi wrote:
> s it possible to change the request->user_agent? I am writing some
> tests where I want to set the user_agent before making the request
> and have my app behave differently depending on the user agent.
http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize.pm#%24mech-%3Eagent_alias(_%24alias_)
I'm sure this works with Test::WWW::Mechanize::Catalyst as well
--
Bogdan Lucaciu
http://www.wiz.ro
More information about the Catalyst
mailing list