You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2007/07/30 14:30:37 UTC
svn commit: r560941 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Author: niq
Date: Mon Jul 30 05:30:36 2007
New Revision: 560941
URL: http://svn.apache.org/viewvc?view=rev&rev=560941
Log:
Be liberal in what we accept. Where it matters.
Modified:
httpd/httpd/trunk/modules/filters/mod_deflate.c
Modified: httpd/httpd/trunk/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?view=diff&rev=560941&r1=560940&r2=560941
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Mon Jul 30 05:30:36 2007
@@ -677,7 +677,8 @@
if (encoding && *encoding) {
/* check the usual/simple case first */
- if (!strcasecmp(encoding, "gzip")) {
+ if (!strcasecmp(encoding, "gzip")
+ || !strcasecmp(encoding, "x-gzip")) {
found = 1;
apr_table_unset(r->headers_in, "Content-Encoding");
}