[dancer-users] return content file

WK wanradt at gmail.com
Wed Sep 23 20:48:13 BST 2015


Hi!

2015-09-23 22:35 GMT+03:00 Hugues <hugues at max4mail.com>:

> If I open this link in with firefox ,
> http://localhost/download/560297bbc96186eea22e0f31/image/index.html
> firefox launch a download of index.html.
>
>  I don't want a download, I want html code directly as apache do.
>
> if someone has a idea, how I can do this ?

If html-does not show up in bowser, my first tought is to check
content_type (it should be text/html). Maybe is involved some other
header, like Content-disposition. Check response headers.

Wbr,
-- 
Kõike hääd,

Gunnar


More information about the dancer-users mailing list