[Catalyst] Re: Catalyst::Test Plack and HTTP Auth

Alejandro Imass alejandro.imass at gmail.com
Thu May 24 18:02:06 GMT 2012


On Thu, May 24, 2012 at 1:53 PM, Alejandro Imass
<alejandro.imass at gmail.com> wrote:
> Hello,
>
> Is it possible to set the auth headers with the Plack stuff w/o having
> to do the base64 and set headers manually?
> I.e. something like with mech:
>
> $mech->credentials( $username, $password );
>
> But using the Catalyst::Test way...
>

Update: I think I found a way by using HTTP::Request object instead of
the URI and then HTTP::Headers object inside that with the auth
headers and that _should_ work. Will post follow-up here if it
actually works.....



> Thanks!
>
> --
> Alejandro Imass



More information about the Catalyst mailing list