Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Content-Disposition inline filename issue with IE

$
0
0

Hi,

This is the below HttpResponse object details

final httpResponse


final httpResponse
HTTP/1.1 200 
Vary: Accept-Encoding
Content-Type: application/pdf
Content-Dis;filename*=utf-8''aproved.pdf
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: public
Content-Encoding: gzip

where the content-disposition is taking the filename as we are passing (approved.pdf)

But when we save the the pdf from the viewer in IE ,it saves as Downlaod.pdf(where Download is the servlet name)

The same usecase works fine in other browsers(chrome) by saving with the actual filename.pdf using the Content-Dispostion

Need help on this for IE browser.



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>