Skip to content

Conversation

busunkim96
Copy link
Contributor

@busunkim96 busunkim96 commented Jan 9, 2020

google.auth.transport.Request says that the body should be of type bytes. Some of our code was passing in strings as reported in #318.

In practice this was not causing issues, as the two http transports requests and urllib3 are able to handle bodies passed as strings.

Closes #318

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 9, 2020
Copy link
Contributor

@michaelawyu michaelawyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

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

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google.auth.transport.Request is called with type(body) == str

3 participants