Submitter | Augie Fackler |
---|---|
Date | March 11, 2016, 4:55 p.m. |
Message ID | <4c628e9d4647100d2bee.1457715312@arthedain.pit.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/13798/ |
State | Accepted |
Delegated to: | Martin von Zweigbergk |
Headers | show |
Comments
Patch
diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py --- a/mercurial/httppeer.py +++ b/mercurial/httppeer.py @@ -112,7 +112,7 @@ class httppeer(wireproto.wirepeer): if len(args) > 0: httpheader = self.capable('httpheader') if httpheader: - headersize = int(httpheader.split(',')[0]) + headersize = int(httpheader.split(',', 1)[0]) if headersize > 0: # The headers can typically carry more data than the URL. encargs = urllib.urlencode(sorted(args.items()))