equal
deleted
inserted
replaced
3332 continue |
3332 continue |
3333 |
3333 |
3334 ct = res.headers.get(r'Content-Type') |
3334 ct = res.headers.get(r'Content-Type') |
3335 if ct == r'application/mercurial-cbor': |
3335 if ct == r'application/mercurial-cbor': |
3336 ui.write(_('cbor> %s\n') % |
3336 ui.write(_('cbor> %s\n') % |
3337 stringutil.pprint(cborutil.decodeall(body)[0], |
3337 stringutil.pprint(cborutil.decodeall(body), |
3338 bprefix=True, |
3338 bprefix=True, |
3339 indent=2)) |
3339 indent=2)) |
3340 |
3340 |
3341 elif action == 'close': |
3341 elif action == 'close': |
3342 peer.close() |
3342 peer.close() |