Reputation: 2409
I have a Struts application that at some point offers the possibility to download some files. I recently found out that download fails through https on IE 8. With Firefox 4 is working fine.
The error I get in IE is:
Internet Explorer cannot download someAction.do from localhost.
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Any idea ?
Upvotes: 1
Views: 6956
Reputation: 11
After some research I found that we need to add headers
Cache-control: "no-cache"
and
Pragma: "no-cache"
.
to make ur app compatible with IE8. Unfortunately this is not working for me.
Upvotes: 1
Reputation:
Everyone who used file downloads on HTTPS is likely to have hit this problem with Internet explorer.
There are lots of references to this kind of issue on the Microsoft Support site also (e.g. Internet Explorer file downloads over SSL do not work with the cache control headers)
Upvotes: 3