projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Added "protocol" option that allows changing of the HTTP protocol used for
[m6w6/ext-http]
/
http_message_api.c
diff --git
a/http_message_api.c
b/http_message_api.c
index 4be4c1758e2f8c223952ef23f9961163c2a94dbe..853cdb7d2ada74dd509e9265cfd6c0a532fe1192 100644
(file)
--- a/
http_message_api.c
+++ b/
http_message_api.c
@@
-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") ||
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);
}
http_encoding_inflate(PHPSTR_VAL(msg), PHPSTR_LEN(msg), &decoded, &decoded_len);
}