View Single Post

  #3 (permalink)  
Old 09-08-2005
Ray Pearce
 
Posts: n/a
Default Re: question about an HTTP response

<bobsweeney@email.com> wrote in message
news:1126133144.474592.268500@z14g2000cwz.googlegr oups.com...
> When I query an Apache web server running on UNIX with this:
>
> GET / HTTP/1.1
> HOST: WWW
>
> I get the following response:
>
> HTTP/1.1 200 OK
> Date: Wed, 07 Sep 2005 22:21:45 GMT
> Server: Apache/1.3.33 (Unix) mod_jk/1.2.3-dev PHP/4.3.11 mod_ssl/2.8.22
> OpenSSL/
> 0.9.7e
> X-Powered-By: PHP/4.3.11
> Transfer-Encoding: chunked
> Content-Type: text/html
>
> e40
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> [rest of html omitted]
>
> What is the e40 before the DOCTYPE line? It does not appear to be part
> of the entity body as it is ignored by the browser.
>


It is using 'chunked' data, which rather than sending the entire
content-length sends the size of each chunk followed by the chunk of data
itself.