Skip to content

Escalate the distinction between data=... and content=... to be stricter. - #1573

Merged
lovelydinosaur merged 2 commits into
masterfrom
escalate-content-data-distinction
Apr 16, 2021
Merged

Escalate the distinction between data=... and content=... to be stricter.#1573
lovelydinosaur merged 2 commits into
masterfrom
escalate-content-data-distinction

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

Currently we're supporting data=<bytes|text|bytes-iter|async-byte-iter> for requests compatibility,
although we're recommending against it.

I think we ought to escalate this into a more formal deprecation warning, and then remove it entirely.

Having a stricter, more consistent API here feels like a clear improvement to me vs requests.

@lovelydinosaurlovelydinosaur added the user-experience Ensuring that users have a good experience using the library label Apr 14, 2021
@lovelydinosaurlovelydinosaur added this to the v0.18 milestone Apr 14, 2021
@lovelydinosaur
lovelydinosaur merged commit 397aad9 into masterApr 16, 2021
@lovelydinosaur
lovelydinosaur deleted the escalate-content-data-distinction branch April 16, 2021 09:06
@lovelydinosaurlovelydinosaur mentioned this pull request Apr 16, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-experienceEnsuring that users have a good experience using the library

Development

Successfully merging this pull request may close these issues.

2 participants

@lovelydinosaur@florimondmanca