httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r560941 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Mon, 30 Jul 2007 12:30:37 GMT
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");
             }



Mime
View raw message