[PATCH] hgweb: add HEAD method

Alexander Solovyov piranha at piranha.org.ua
Mon Apr 13 15:54:06 CDT 2009


On Mon, Apr 13, 2009 at 11:51 PM, Greg Ward <greg-hg at gerg.ca> wrote:
> But... ummm... doesn't that make hgweb issue a response with a body,
> which is exactly what HEAD is not supposed to do?  Or does the
> framework that imposes the do_{GET,HEAD,POST} convention take care of
> that by not sending the body?

Looks like, at least "curl -I http://localhost:8000/" (that's big i)
displays only headers.

-- 
Alexander



More information about the Mercurial-devel mailing list