[dancer-users] Content-disposition-header.

Rick Leir richard.leir at canadiana.ca
Mon Sep 28 14:32:02 BST 2015

On Mon, Sep 28, 2015 at 7:00 AM, <dancer-users-request at dancer.pm> wrote:

> Using send_file seems not appropriate, because it sets
> Content-disposition-header.

Strange. I do not get Content-disposition-header in the response from this:
get '/' => sub {
    send_file 'index.html';

Only these:
Content-Length439Content-Typetext/html; charset=utf-8DateMon, 28 Sep 2015
13:26:01 GMTServerHTTP::Server::PSGI
Do not use  Content-disposition-header unless you have a reason to need it:
cheers -- Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150928/654980f4/attachment.html>

More information about the dancer-users mailing list