java - CSV download does not work over SSL -


we seeing problem on our qa environment download csv feature not working expected. file downloaded, looks content-disposition header lost.

response.setcontenttype("text/csv"); response.setheader("content-disposition", "attachment; filename=\""+pagename+".csv\""); response.getoutputstream().print(content); response.getoutputstream().flush(); response.getoutputstream().close(); 

this code runs fine on local workspace , dev environment on http. on qa, on https, file downloaded without .csv extension. chrome browser inspect shows content-disposition header missing. have tried switching qa environment http, , works expected.

initial research seemed point cache-control header being set no-cache. have fixed settings @ proxy server, cache-control header no longer set 'no-cache', problem persists. using spring jsps running on jboss eap 6.4.0 , in case helps know.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -