[PATCH stable] hgweb.cgi: fix internal WSGI emulation (issue3804)

Mads Kiilerich mads at kiilerich.com
Mon Feb 4 16:29:07 CST 2013


On 02/04/2013 04:51 PM, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1359993046 -3600
> # Branch stable
> # Node ID 8fff1e69052818a40110eb00589742dd40bd2fde
> # Parent  12de53323e59ce3e5f31472ee781649669d6ca9c
> hgweb.cgi: fix internal WSGI emulation (issue3804)
>
> The internal WSGI emulation in wsgicgi.py was not fully WSGI compliant and
> assumed that all responses sent a body. With 3fbdbeab38cc that caused a real
> bug when using hgweb.cgi.
>
> wsgicgi.py will now make sure headers always are sent, using the pattern from
> PEP 333 and similar to how it is done in c007e5c54b16.

In crew stable

/Mads



More information about the Mercurial-devel mailing list