Description
While doing some testing on an authproxy deployment, we needed to make a couple of fixes.
Make sure that the requests to the authentication proxy are never cached. We must not accidentally use stale authentication information.
Add special handling for Content-Length when authorizing HEAD requests. We should not force the length to zero in this case because the client knows that HEAD responses must always have an empty body. This is really a workaround for a buggy client, hdiutil(1) on Mac OS X.