]> granicus.if.org Git - apache/commitdiff
content-encoding needs to be unset.
authorAndré Malo <nd@apache.org>
Wed, 21 Apr 2004 22:08:34 +0000 (22:08 +0000)
committerAndré Malo <nd@apache.org>
Wed, 21 Apr 2004 22:08:34 +0000 (22:08 +0000)
Submitted by: Nick Kew <nick webthing.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103476 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_deflate.c

index 561d236fe5e67d2e3b14a6c1b62489ee43cc5236..2dd1522e1e98a0586b008878dac7854f61fc519e 100644 (file)
@@ -895,6 +895,7 @@ static apr_status_t inflate_out_filter(ap_filter_t *f,
             ap_remove_output_filter(f);
             return ap_pass_brigade(f->next, bb);
         }
+        apr_table_unset(r->headers_out, "Content-Encoding");
 
         f->ctx = ctx = apr_pcalloc(f->r->pool, sizeof(*ctx));
         ctx->proc_bb = apr_brigade_create(r->pool, f->c->bucket_alloc);