<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 28, 2015 at 7:00 AM,  <span dir="ltr"><<a href="mailto:dancer-users-request@dancer.pm" target="_blank">dancer-users-request@dancer.pm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":15m" class="" style="overflow:hidden">Using send_file seems not appropriate, because it sets<br>
Content-disposition-header.</div></blockquote></div><br>Strange. I do not get 
Content-disposition-header in the response from this:<br><span style="font-family:monospace,monospace">get '/' => sub {<br>    send_file 'index.html';<br>};</span><br><br></div><div class="gmail_extra">Only these:<br><span class=" ">Content-Length</span><code class="">439</code><span class=" ">Content-Type</span><code class="">text/html; charset=utf-8</code><span class=" ">Date</span><code class="">Mon, 28 Sep 2015 13:26:01 GMT</code><span class=" ">Server</span><code class="">HTTP::Server::PSGI</code><br></div><div class="gmail_extra">Do not use 
Content-disposition-header unless you have a reason to need it:<br><a href="http://stackoverflow.com/questions/1012437/uses-of-content-disposition-in-an-http-response-header">http://stackoverflow.com/questions/1012437/uses-of-content-disposition-in-an-http-response-header</a><br></div><div class="gmail_extra">cheers -- Rick <br>
</div></div>