changeset 14245 | 13d44e4235f8 |
parent 14244 | e7525a555a64 |
child 14428 | f0c43c63f742 |
--- a/mercurial/httprepo.py Fri May 06 10:22:08 2011 -0500 +++ b/mercurial/httprepo.py Mon May 02 12:10:50 2011 -0500 @@ -75,6 +75,10 @@ args['data'] = '' data = args.pop('data', None) headers = args.pop('headers', {}) + + if data and self.ui.configbool('ui', 'usehttp2', False): + headers['Expect'] = '100-Continue' + self.ui.debug("sending %s command\n" % cmd) q = [('cmd', cmd)] headersize = 0