httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Ghent <>
Subject Re: Content-length returned from HEAD requests?
Date Tue, 12 Mar 2002 19:05:17 GMT
On Tue, 12 Mar 2002, Aaron Bannert wrote:

| Is it valid for Content-length to be returned from these types
| of requests? daedalus is showing it, and I'm seeing it in current CVS.

IIRC, HEAD is analogous to GET, just minus the content itself... so you
should see the full header information as if it were a GET request.

Content-length is returned by 1.3.23 after a HEAD request, as well:

[daleg@lithium]~>telnet . 80
Connected to ..
Escape character is '^]'.
HEAD /~daleg/ HTTP/1.1

HTTP/1.1 200 OK
Date: Tue, 12 Mar 2002 19:03:17 GMT
Server: Apache/1.3.23 (Unix) PHP/4.1.1
Last-Modified: Sun, 31 Oct 1999 22:01:07 GMT
ETag: "97915-112e-381cbc23"
Accept-Ranges: bytes
Content-Length: 4398
Content-Type: text/html


View raw message