Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAvoid passing bytes to string format in header #947
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
EdwardBetts
Jul 13, 2016
Contributor
This affects more backends. I've submitted a new pull request: #947.
|
This affects more backends. I've submitted a new pull request: #947. |
EdwardBetts
closed this
Jul 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EdwardBetts commentedJul 13, 2016
Using Python 3, we need to pass a str to format, not bytes. Otherwise we end up with an Authorization that looks like:
Authorization: Basic b'Zm9vOmJhcg=='