##// END OF EJS Templates
py3: use system strings for HTTP response header comparison...
Gregory Szorc -
r39992:36e9d2c6 default
parent child Browse files
Show More
@@ -3324,7 +3324,8 b' def debugwireproto(ui, repo, path=None, '
3324 getattr(e, 'read', lambda: None)()
3324 getattr(e, 'read', lambda: None)()
3325 continue
3325 continue
3326
3326
3327 if res.headers.get('Content-Type') == 'application/mercurial-cbor':
3327 ct = res.headers.get(r'Content-Type')
3328 if ct == r'application/mercurial-cbor':
3328 ui.write(_('cbor> %s\n') %
3329 ui.write(_('cbor> %s\n') %
3329 stringutil.pprint(cborutil.decodeall(body)[0],
3330 stringutil.pprint(cborutil.decodeall(body)[0],
3330 bprefix=True,
3331 bprefix=True,
General Comments 0
You need to be logged in to leave comments. Login now