[Catalyst] Changing the request->user_agent
Simon Wilcox
simonw at digitalcraftsmen.net
Tue Mar 20 17:30:00 GMT 2007
On Tue, 20 Mar 2007, Adeola Awoyemi wrote:
> Is 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.
You mean in Catalyst::Test ?
Looks to me as though you can't as it stand right now, there's no way to
access the $agent outside of the package.
Patches welcome I'm sure :-)
S.
More information about the Catalyst
mailing list