28 Sep
2015
28 Sep
'15
1:32 p.m.
On Mon, Sep 28, 2015 at 7:00 AM, <dancer-users-request@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: http://stackoverflow.com/questions/1012437/uses-of-content-disposition-in-an... cheers -- Rick