mercurial/httppeer.py
changeset 36426 23d12524a202
parent 36297 a59ff82154b8
child 36430 efebfa9b4cab
--- a/mercurial/httppeer.py	Sun Feb 25 23:34:58 2018 -0500
+++ b/mercurial/httppeer.py	Sun Feb 25 23:51:32 2018 -0500
@@ -291,9 +291,6 @@
             size = data.length
         elif data is not None:
             size = len(data)
-        if size and self.ui.configbool('ui', 'usehttp2'):
-            headers[r'Expect'] = r'100-Continue'
-            headers[r'X-HgHttp2'] = r'1'
         if data is not None and r'Content-Type' not in headers:
             headers[r'Content-Type'] = r'application/mercurial-0.1'