[PATCH 2 of 2] hgweb: add support for a new fastauth capability for unbundle

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Feb 6 12:50:32 CST 2010


On Sat, Feb 6, 2010 at 13:33, Augie Fackler <durin42 at gmail.com> wrote:
> # HG changeset patch
> # User Augie Fackler <durin42 at gmail.com>
> # Date 1265407513 21600
> # Node ID 561e3fcd990e11d5a44025a1eaf786cb42d12648
> # Parent  f983f04cfbd891c862b618c41e967decfa507c4b
> hgweb: add support for a new fastauth capability for unbundle
>
> diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py
> --- a/mercurial/hgweb/hgweb_mod.py
> +++ b/mercurial/hgweb/hgweb_mod.py
> @@ -112,12 +112,15 @@
>             if query:
>                 raise ErrorResponse(HTTP_NOT_FOUND)
>             try:
> +                expecting_continue = (req.env.get('HTTP_EXPECT', '') == '100-Continue')
> +

Shorter, underscore-less name (expectcont), please. Otherwise looks okay.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list