Hello
There are no Content-disposition for a normal html page ?
if I add
header "Content-Disposition" => "" ;
send_file( $fullpath, streaming => 0, filename => $file[-1],
content_type =>"text/html", system_path => 1);
I've got 2 Content-Disposition with error in "Multiple Content disposition"
< Last-Modified: Wed, 23 Sep 2015 17:28:44 GMT
< Content-Disposition:
< Content-Disposition: attachment; filename="index.html"
do you have a idea ? how to remove Content-Disposition ?
Le 23/09/2015 21:48, WK a écrit :
Hi!
2015-09-23 22:35 GMT+03:00 Hugues <[email protected]>:
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,
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users