diff mercurial/httprepo.py @ 14999:f6a737357195

merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 01 Aug 2011 10:54:34 -0500
parents 6349a9eb0178 4f39610996fa
children f4522df38c65
line wrap: on
line diff
--- a/mercurial/httprepo.py	Sun Jul 31 22:12:13 2011 +0200
+++ b/mercurial/httprepo.py	Mon Aug 01 10:54:34 2011 -0500
@@ -77,6 +77,7 @@
 
         if data and self.ui.configbool('ui', 'usehttp2', False):
             headers['Expect'] = '100-Continue'
+            headers['X-HgHttp2'] = '1'
 
         self.ui.debug("sending %s command\n" % cmd)
         q = [('cmd', cmd)]