Sat, 30 Aug 2008 17:13:23 +0200 hgweb: return content iterator instead of using write() callable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 30 Aug 2008 17:13:23 +0200] rev 6945
hgweb: return content iterator instead of using write() callable This is a new version of 4879468fa28f (which was backed out in 943f066c0d58), with an extra line removed to fix problems with hg serve. hg's internal web server contains checking if the app isn't trying to write more bytes than specified by the Content-Length header. The first try still contained an old line that wrote the response, so the response was sent twice.
(0) -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip