Re: Weird numbers around HTTP response body
| From: | Curt Zirzow | Date: | Mon, 13 Sep 2004 22:33:28 +0000 |
| Subject: | Re: Weird numbers around HTTP response body | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196577@lists.php.net to get a copy of this message | ||
* Thus wrote tmp1000@fastmail.fm:
>
> And I monitor the HTTP response coming from the server (apache), it
> looks like this:
>
> HTTP/1.1 200 OK
> Transfer-Encoding: chunked
>
> 7
> testing
> 0
>
Thats http/1.1 chunked encoding:
1
t
4
esti
2
ng
0
client should recognized the chunked encoding and build a string to
represent the results as 'testing'
If you dont want this kind of encoding, a for sure way to eliminate
it is by issuing a 1.0 request:
GET /file.php HTTP/1.0
Curt
--
The above comments may offend you. flame at will.