mercurial/httprepo.py
branchstable
changeset 14991 4f39610996fa
parent 14648 ba3c36cea66e
child 14999 f6a737357195
child 15152 94b200a11cf7
--- a/mercurial/httprepo.py	Fri Jul 29 12:46:45 2011 -0500
+++ b/mercurial/httprepo.py	Wed Jul 27 18:35:35 2011 -0500
@@ -78,6 +78,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)]