Skip to content

Avoid passing bytes to string format in header#947

Closed
EdwardBetts wants to merge 1 commit intoomab:masterfrom
EdwardBetts:patch-1
Closed

Avoid passing bytes to string format in header#947
EdwardBetts wants to merge 1 commit intoomab:masterfrom
EdwardBetts:patch-1

Conversation

@EdwardBetts
Copy link
Copy Markdown
Contributor

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=='

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=='
@EdwardBetts
Copy link
Copy Markdown
Contributor Author

This affects more backends. I've submitted a new pull request: #947.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant