On Thu, 11 Jul 2002, Jimmy Lantz wrote: > HEAD requests are turned into M_GET with header_only set to TRUE. > By removing ', HEAD' in the line below would make it impossible to LIMIT > only HEAD Making HEAD request allowed for all > even if you used LimitExcept.
Umm, no, don't think so. IIRC, that line just affects what the outputted "Allow:" response header is. > I'm thinking that I might try to implement a M_HEAD, why has this been > discarded in favor for M_GET with header_only? Because M_GET and M_HEAD are implemented the same way through the whole server -- the only difference is that if (r->header_only), we skip sending the body. But otherwise it's quite convenient to treat them as the same, since they ARE the same. I guess I'm confused why you'd want to allow HEAD while not allowing GET. --Cliff
