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

py3: convert HTTP request headers to str

The low-level request object ideally takes system strings for
HTTP request headers and values. If we send in bytes, it works. But
a duplicate header check fails and various tests emit duplicate
user-agent headers.

Differential Revision: https://phab.mercurial-scm.org/D4834
parent 8c7ecd32
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment