Show More
@@ -79,6 +79,9 b' class httppeer(wireproto.wirepeer):' | |||
|
79 | 79 | elif data is not None: |
|
80 | 80 | size = len(data) |
|
81 | 81 | headers = args.pop('headers', {}) |
|
82 | if data is not None and 'Content-Type' not in headers: | |
|
83 | headers['Content-Type'] = 'application/mercurial-0.1' | |
|
84 | ||
|
82 | 85 | |
|
83 | 86 | if size and self.ui.configbool('ui', 'usehttp2', False): |
|
84 | 87 | headers['Expect'] = '100-Continue' |
General Comments 0
You need to be logged in to leave comments.
Login now