[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: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Sun, 11 Nov 2012 20:27:29 +0400

On Sun, Nov 11, 2012 at 2:28 AM, Justin Erenkrantz
<justin_at_erenkrantz.com> wrote:
> On Sat, Nov 10, 2012 at 3:25 PM, Thomas ├ůkesson <thomas_at_akesson.cc> wrote:
>>
>> 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?
>
>
> Probably - doing the HEAD request will run the full authn and authz checks,
> but it won't produce the bodies - you'll also save not having to send the
> responses on the wire - but you won't know what the directory listing is
> unless you do a GET in the first place. So, it might help at the leaf nodes
> in the tree. (But how would you know it's a leaf! Fun.)
>
I've checked in debugger and it seems creating sub request performs
auth/authz without
until call to ap_subreq_run().

-- 
Ivan Zhakov
Received on 2012-11-11 17:28:20 CET

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