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

Encode data to str/bytes inside _RequestBodyFromData #185

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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