Skip to Content
author's profile photo
Former Member

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

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:


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


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 01, 2008 at 02:48 PM


    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->


    Karthick Eswaran

    Add comment
    10|10000 characters needed characters exceeded