[dancer-users] Non-blocking stuff

Warren Young wyml at etr-usa.com
Tue Nov 17 01:13:12 GMT 2015


On Nov 16, 2015, at 6:09 PM, David H <untg99 at gmail.com> wrote:
> 
>     add_header 'X-Foo' => 'Bar’;

That’s probably an old DSL keyword.  It looks like it was replaced with ‘header’:

 https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual.pod#header

Anyway, do you really need to set custom HTTP headers here?  It’s just an example.  If your app doesn’t need that, remove the line entirely.


More information about the dancer-users mailing list