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 ?
Everyone who used file downloads on HTTPS is likely to have hit this problem with Internet explorer.
If a user tries to download a file over a HTTPS connection, any response headers that prevent caching will cause the file download process to fail in 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)