##// 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 def sendrequest(ui, opener, req):
278 278 hgargssize = None
279 279
280 280 for header, value in sorted(req.header_items()):
281 header = pycompat.bytesurl(header)
282 value = pycompat.bytesurl(value)
281 283 if header.startswith('X-hgarg-'):
282 284 if hgargssize is None:
283 285 hgargssize = 0
General Comments 0
You need to be logged in to leave comments. Login now