Hi,

Upgrading Catalyst v5.80033 -> v5.9000 is highlighting an issue identified by 
one of my tests.

Previously, creating an $ENV variable was automatically converted as a request 
header. So, I create an $ENV variable in a test script, make a HTTP request, 
and check for response contents that is returned from a controller action based 
on that request header set.

My controller action is detecting $ENV vars, but has stopped converting them 
into and detecting them via $c->request->headers(), eg. :

        If ( $c->request->header('Some-Request-Env-Variable') )  {
                # picked up $ENV{'Some-Request-Env-Variable'} from test script.
        }

Has anybody come across this issue, or know of a fix, or if I'm doing something 
wrong?

Thanks,
Anthony

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to