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

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to