diff hgeditor @ 18552:e8efcc8ff5c0 stable

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.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 04 Feb 2013 23:25:25 +0100
parents 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff