comparison mercurial/i18n.py @ 18697:4921b5c2aeed

httppeer: improve protocol check Pre-0.6c hgweb used text/plain for protocol responses. This meant that a web server could serve a static file and confuse a client into generating a nasty traceback. Now we insist that text/plain protocol responses not include a Content-Length, which older hgweb didn't generate but will typically be produced for static files.
author Matt Mackall <mpm@selenic.com>
date Sun, 17 Feb 2013 14:34:53 -0600
parents b64538363dbe
children 2d47d81c79fb
comparison
equal deleted inserted replaced
18696:d23f61b6617f 18697:4921b5c2aeed