mercurial/debugcommands.py
changeset 39956 36e9d2c60837
parent 39955 c421c22d3ad2
child 39980 d71e0ba34d9b
--- a/mercurial/debugcommands.py	Mon Oct 01 23:08:04 2018 -0700
+++ b/mercurial/debugcommands.py	Mon Oct 01 23:11:07 2018 -0700
@@ -3324,7 +3324,8 @@
                 getattr(e, 'read', lambda: None)()
                 continue
 
-            if res.headers.get('Content-Type') == 'application/mercurial-cbor':
+            ct = res.headers.get(r'Content-Type')
+            if ct == r'application/mercurial-cbor':
                 ui.write(_('cbor> %s\n') %
                          stringutil.pprint(cborutil.decodeall(body)[0],
                                            bprefix=True,