X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_message_api.c;h=853cdb7d2ada74dd509e9265cfd6c0a532fe1192;hb=5aa958980652d72433ba8e9e500b8dfd123d56a1;hp=16a2c05ec5c0d71b4477aa6d2252f3574a90e08f;hpb=e6d36989f0650bf097b6909c41cdd20a1ffcd6af;p=m6w6%2Fext-http diff --git a/http_message_api.c b/http_message_api.c index 16a2c05..853cdb7 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -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 | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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); }