Sorry if this appears repetitive but I’ve been all over the interwebz looking for a satisfactory answer to this.
IE 8 (well 6 and 7 as well) is not allowing downloading files over a https based connection.
I understand this is a cache-control issue as suggested in the MS support website
and i’ve tried everything from setting cache-control to disabling pragma in the response header as suggested in the below links
- Internet Explorer Cannot Download https://something
- Internet Explorer Can’t Open Files Via HTTPS: Try Removing The Pragma Header
and i am still unable to solve the issue.
I would prefer something other than a browser fix or a registry change.
My code in java looks as follows
response.addHeader("Content-Disposition", "attachment; filename=myXLS.xls");
response.addHeader("Cache-control", "public");
response.addHeader("Pragma", "public");
Appreciate the help. thanks
Take a look at response headers – most likely your web server is setting some headers related to caching for this type of file. First thing I would do is to request this URL say with ‘wget’, let it print response headers and see what’s there.