[ZODB-Dev] Browser send HEAD is weird?

Chris Withers chrisw@nipltd.com
Fri, 06 Sep 2002 15:50:38 +0100


Andrew Kuchling wrote:
> On Fri, Sep 06, 2002 at 12:57:19PM +0100, Chris Withers wrote:
> 
>>Isn't that how a lot of browser caching works as HEAD responses are 
>>supposed to be cheap to generate?
> 
> I doubt it, because doing first a HEAD and then a GET would require
> two TCP round trips.  Caches and browsers (correct ones, anyway)
> should be doing a GET with an 'If-Modified-Since' header.  See section
> 14.25 of RFC2616:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html .

Fair enough :-)

So, what are HEAD requests used for then?

cheers,

Chris