Re: Content-Length in HEAD responses
From: Thomas Åkesson <thomas_at_akesson.cc>
Date: Sat, 10 Nov 2012 21:25:36 +0100
Thanks Justin for clarifying.
On 10 nov 2012, at 12:54, Justin Erenkrantz wrote:
I am not sure if Original Poster refers to Branko (who raised concerns about using HEAD requests for ACLs) or myself who did some tests in response to that concern.
Yes, we are doing HEAD on directories since that's the situation where we were considering doing HEAD rather than GET requests.
> And, C-L is not meaningful in anyway on directories - only actual resources. mod_autoindex doesn't do it either:
I suppose this means that it would be a significant optimization to perform HEAD rather than GET when discovering ACLs for every subdirectory in a directory listing?
Branko's concern is still interesting... because this behaviour (omitting CL for HEAD requests) does seem to violate the HTTP RFC, but for good reason. Given that mod_autoindex as well as mod_php (at least on the config I tested) also omits CL for HEAD I suppose it is a well accepted optimization in practice.
Thanks,
|
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.