#25486 [NEW]: HTTP_Request(Response) problem with HTTP/1.1 100 Continue
| From: | ths at 4bconsult dot de | Date: | Thu, 11 Sep 2003 09:09:57 +0000 |
| Subject: | #25486 [NEW]: HTTP_Request(Response) problem with HTTP/1.1 100 Continue | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-21385@lists.php.net to get a copy of this message | ||
From: ths at 4bconsult dot de
Operating system: irrelevant
PHP version: Irrelevant
PHP Bug Type: PEAR related
Bug description: HTTP_Request(Response) problem with HTTP/1.1 100 Continue
Description:
------------
HTTP_Response() currently do not handling multiple header blocks
respectively "HTTP/1.1 100 Continue" because it split headers and body
simply on the first occurrence of "\r\n\r\n".
----- response example ------------------------
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.0
Date: Thu, 11 Sep 2003 09:22:46 GMT
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 11 Sep 2003 09:22:46 GMT
Connection: close
Content-Type: text/xml
Content-Length: 1145
Content:
<?xml version="1.0" encoding="UTF-8"?>
...
-----------------------------------------------
On this response $this->_body should start with:
<?xml version="1.0" encoding="UTF-8"?>
...
but currently contains:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 11 Sep 2003 09:22:46 GMT
Connection: close
Content-Type: text/xml
Content-Length: 1145
Content:
<?xml version="1.0" encoding="UTF-8"?
...
--
Edit bug report at http://bugs.php.net/?id=25486&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25486&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25486&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25486&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25486&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25486&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25486&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25486&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25486&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25486&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25486&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25486&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25486&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25486&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25486&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25486&r=gnused