[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Content-Length in HEAD responses

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Sat, 10 Nov 2012 06:54:58 -0500

On Sat, Nov 10, 2012 at 6:49 AM, Justin Erenkrantz <justin_at_erenkrantz.com>wrote:

> There is a C-L header...so, I don't know what the original poster is
> seeing, but we're already doing the right thing... -- justin
>

I bet the OP is trying to do HEAD on a directory as there was talk
elsethread about trying to discover ACLs on a directories...that's not
going to generate a C-L. And, C-L is not meaningful in anyway on
directories - only actual resources. mod_autoindex doesn't do it either:

% curl --head https://archive.apache.org/dist/
HTTP/1.1 200 OK
Date: Sat, 10 Nov 2012 11:53:36 GMT
Server: Apache/2.4.1 (Unix) OpenSSL/1.0.0g
Content-Type: text/html;charset=ISO-8859-1

(The only way to generate the C-L would be to run through the
response...which we don't do for HEAD.)

HTH. -- justin
Received on 2012-11-10 12:55:32 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.