[dancer-users] setting header before redirect

Paulo A Ferreira paulo.a.ferreira at gmail.com
Tue Dec 3 17:38:01 GMT 2013


"header" sends your customized header to the browser and redirect probably
send a Location: with the new address. Naturally the browser will not
"forward" received headers from a server to another URL.

On Tue, Dec 3, 2013 at 5:29 PM, Nuno Carvalho <smash at cpan.org> wrote:

> Hello everyone,
>  I have two simple Dancer 1 apps, I'm creating a specific header in
> one, and then redirecting to the other application. I would expect to
> find the custom header in the second application, but I don't see it.
> I'm also using Data::Dumper to view the request in the second
> application and I don't find the header there either.
>  Here's the route for both applications:
> http://paste.perldancer.org/PtkO0HkfPev
>  Am i doing something wrong? Any insight would be appreciated.
> Thank you in advance
> nrc
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131203/47c8b685/attachment.html>

More information about the dancer-users mailing list