Skip to content
Snippets Groups Projects
Commit 36e9d2c6 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

py3: use system strings for HTTP response header comparison

res.headers is holding system strings. Attempting to compare against
bytes always fails and we fail to print decoded CBOR responses on
Python 3.

After this change, various test-wireproto* tests are now properly
printing CBOR response objects.

Differential Revision: https://phab.mercurial-scm.org/D4835
parent c421c22d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment