on 06-10-2005 10:15 AM
Hi all,
i got the problem that on our J2EE 6.40 installation all response content seems to be automatically compressed via gzip (if the request has the header "Accept-Encoding: gzip", of course).
But i need a uncompressed/unencoded repsonse.
Therefore I tried to override the HTTP header of my servlet- response with:
response.setHeader("Content-Encoding","none");
But this result in the following http-header of the corresponding servlet response.
.....
Content-Encoding: none
Content-Encoding: gzip
.....
It seems to me that the J2EE automatically compresses responses.
Unfortunately i am not able to set the "Accept-Encoding" header of the corresponding request which initiate this response. This is related to an IE bug with XMLHttpRequest which i must use for my program.
Thank you very much for any hint.
Kind regards
Jochen
Hi Jochen,
Just to add to Detlev's reply, the following documentation might be helpful for you, too:
http://help.sap.com/saphelp_nw04/helpdata/en/00/a9e740bc9d1346b6bd342359eb8085/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ad/08d52d6d95864492a6a5931bb62716/frameset.htm
Best regards,
Viliana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to make the same steps in NW CE 7.1, since Visual admin is not available with this version, instead nwa is available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jochen,
first, welcome on SDN! About your question:
I'm not sure if this is possible by a programming approach, as you showed that Content-Encoding: gzip seems to be added automatically.
This probably is done by the server settings. You can en-/disable compression, also for specific content types, via VisualAdministrator:
Server -> Services -> http -> Properties -> Compression
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.