##// END OF EJS Templates
httppeer: no matter what Python 3 might think, http headers are bytes...
Augie Fackler -
r37755:6cb7e3b9 default
parent child Browse files
Show More
@@ -278,6 +278,8 b' def sendrequest(ui, opener, req):'
278 hgargssize = None
278 hgargssize = None
279
279
280 for header, value in sorted(req.header_items()):
280 for header, value in sorted(req.header_items()):
281 header = pycompat.bytesurl(header)
282 value = pycompat.bytesurl(value)
281 if header.startswith('X-hgarg-'):
283 if header.startswith('X-hgarg-'):
282 if hgargssize is None:
284 if hgargssize is None:
283 hgargssize = 0
285 hgargssize = 0
General Comments 0
You need to be logged in to leave comments. Login now