Parent Directory
|
Revision Log
|
Patch
--- httpd/httpd/trunk/modules/filters/mod_deflate.c 2007/12/28 12:03:20 607219
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c 2008/12/15 20:22:07 726791
@@ -584,6 +584,11 @@
else {
apr_table_mergen(r->headers_out, "Content-Encoding", "gzip");
}
+ /* Fix r->content_encoding if it was set before */
+ if (r->content_encoding) {
+ r->content_encoding = apr_table_get(r->headers_out,
+ "Content-Encoding");
+ }
apr_table_unset(r->headers_out, "Content-Length");
apr_table_unset(r->headers_out, "Content-MD5");
deflate_check_etag(r, "gzip");
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |