to do something.' ) ;
FROM: John Napiorkowski
[mailto:jjn1...@yahoo.com]
SENT: Sunday, April 15, 2012 3:35 PM
TO: The
elegant MVC web framework
SUBJECT: Re: [Catalyst] Application Testing,
Mocking Apache Headers/Environment
John,
Could you give us a bit more
information? For example do you have
On 16 Apr 2012, at 07:11, brainbuz wrote:
In my auto action I have something like:
$c-{ USERNAME } = $c-engine-env-{ HTTP_COOKIE } ;#Authenticated via
apache 2.4 mod_auth_form
$c-{ USERRIGHTS } = $c-model( ‘method returning a ref to a list of the
rights for $c-{ USERNAME }’);
- the answer you're probably looking for is to use
Plack::Middleware::ForceEnv
Thanks I peeked at the documentation it looks like exactly the approach I
wanted to take. The documentation is brief and the tests are all directly
against plackup. You wouldn't happen to have some handy examples you
: Thursday, April 12, 2012 3:39 PM
Subject: [Catalyst] Application Testing, Mocking Apache Headers/Environment
I am trying to test an application that is deployed behind a proxy and which
is dependent on obtaining information from the request through
$c-engine-env this information includes the logged
I am trying to test an application that is deployed behind a proxy and which
is dependent on obtaining information from the request through
$c-engine-env this information includes the logged in user and client ip
address. I've been using the config file to provide override values,
however, this is