diff tests/test-push-cgi.t @ 18346:6c2563b2c1c6

hgweb: use Content-Length for pushres This prevents some unnecessary http connection close.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Jan 2013 01:05:12 +0100
parents f2719b387380
children 6b618aa08b6e
line wrap: on
line diff
--- a/tests/test-push-cgi.t	Tue Jan 15 01:05:12 2013 +0100
+++ b/tests/test-push-cgi.t	Tue Jan 15 01:05:12 2013 +0100
@@ -54,6 +54,7 @@
   $ cat page2
   Status: 200 Script output follows\r (esc)
   Content-Type: application/mercurial-0.1\r (esc)
+  Content-Length: 102\r (esc)
   \r (esc)
   1
   adding changesets
@@ -68,6 +69,7 @@
   $ cat page3
   Status: 200 Script output follows\r (esc)
   Content-Type: application/mercurial-0.1\r (esc)
+  Content-Length: 102\r (esc)
   \r (esc)
   1
   adding changesets
@@ -82,6 +84,7 @@
   $ cat page4
   Status: 200 Script output follows\r (esc)
   Content-Type: application/mercurial-0.1\r (esc)
+  Content-Length: 102\r (esc)
   \r (esc)
   1
   adding changesets