Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 83200 invoked by uid 500); 12 Mar 2002 19:05:14 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 83186 invoked from network); 12 Mar 2002 19:05:13 -0000 Date: Tue, 12 Mar 2002 14:05:17 -0500 (EST) From: Dale Ghent To: dev@httpd.apache.org Subject: Re: Content-length returned from HEAD requests? In-Reply-To: <20020312104808.D10674@clove.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 Trying 0.0.0.0... Connected to .. Escape character is '^]'. HEAD /~daleg/ HTTP/1.1 Host: elemental.org 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 /dale