cancel
Showing results for 
Search instead for 
Did you mean: 

NW CE : How to turn off gzip compression for specific Servlet responses

Former Member
0 Kudos

Hi all,

i got the problem that on our NW CE 7.1 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

Ritesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ritesh,

Check out the Property :

In Config Tool ->Go to u201Ccluster-datau201D->Global server configuration ->services->http->

Select "Never Compressed" ->

in NW CE7.1 this property can be found at local system->cluster_config->system->instances->current_instance->cfg->http->properties->

Regards,

Karthick Eswaran