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.

_______________________________________________
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