- http_request_defaults() already takes care of resetting curl options so check strin...
[m6w6/ext-http] / http_message_api.c
index 16a2c05ec5c0d71b4477aa6d2252f3574a90e08f..853cdb7d2ada74dd509e9265cfd6c0a532fe1192 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2005, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -233,9 +233,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char
 
                        if (    !strcasecmp(Z_STRVAL_P(c), "gzip") || 
                                        !strcasecmp(Z_STRVAL_P(c), "x-gzip") ||
-                                       !strcasecmp(Z_STRVAL_P(c), "deflate") ||
-                                       !strcasecmp(Z_STRVAL_P(c), "compress") ||
-                                       !strcasecmp(Z_STRVAL_P(c), "x-compress")) {
+                                       !strcasecmp(Z_STRVAL_P(c), "deflate")) {
                                http_encoding_inflate(PHPSTR_VAL(msg), PHPSTR_LEN(msg), &decoded, &decoded_len);
                        }