Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Encode data to str/bytes inside _RequestBodyFromData#185

Open
privalof wants to merge 2 commits intoAzure:masterfrom
privalof:master
Open

Encode data to str/bytes inside _RequestBodyFromData#185
privalof wants to merge 2 commits intoAzure:masterfrom
privalof:master

Conversation

@privalof
Copy link

urllib3 requires a bytes-like body
json.dumps for Python 2.* provide it by default , python 3 return Unicode string.
related to issue #135

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant