diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-01-13 10:27:13 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-01-13 10:27:13 +0000 |
commit | 5ebcab9da33899b643a54c5fe04db24c9bcd671e (patch) | |
tree | 3266dd80ec0519da81f2b99c1c9c224ad1637bf5 /ext/soap/php_http.c | |
parent | ccd3f39e98e68ea19b24dab1a001b32377075517 (diff) | |
download | php-git-5ebcab9da33899b643a54c5fe04db24c9bcd671e.tar.gz |
Check for "<?xml" header was removed
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index d93568429e..5fd67bbd06 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -330,9 +330,9 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS } else { cmplen = strlen(content_type); } - if (strncmp(content_type, "text/xml", cmplen) == 0 || strncmp(content_type, "application/soap+xml", cmplen == 0)) { +/* if (strncmp(http_body, "<?xml", 5)) { zval *err; MAKE_STD_ZVAL(err); @@ -343,6 +343,7 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS efree(http_body); return FALSE; } +*/ } efree(content_type); } |