From: André Malo Date: Wed, 21 Apr 2004 22:08:34 +0000 (+0000) Subject: content-encoding needs to be unset. X-Git-Tag: pre_ajp_proxy~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62e1b7bdbe0152c0ba0fea914f12fcffcadc73cc;p=apache content-encoding needs to be unset. Submitted by: Nick Kew git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103476 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 561d236fe5..2dd1522e1e 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -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);