httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: How is this handled?
Date Wed, 28 Feb 2001 15:35:33 GMT
From: <rbb@covalent.net>
Sent: Wednesday, February 28, 2001 9:23 AM


> On Wed, 28 Feb 2001, William A. Rowe, Jr. wrote:
> 
> > Line 845, mod_dav.c [2.0 tree]
> >
> >         if (r->header_only) {
> >             ap_send_http_header(r);
> >             return DONE;
> >         }
> 
> Handlers should not try to handle HEAD requests anymore.  This should go
> away completely for 2.0.  Let the filters take care of the HEAD request.

Wrong.  Filters don't know wtf the content-type is, what the etag is, what
the handler's idea of the content-location is.  So they will forever handle
head requests.

I'm just confirming that returning OK (or DONE in DAV's case) pushes the
headers after the handler returns.

Bill



Mime
View raw message