Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Deprecate non-binary bodies" #131

Merged

Conversation

sarayourfriend
Copy link
Collaborator

I got all turned around on this. There's no need for this complex deprecation and fix. Returning non-bytes from urllib (or any of the supported client libraries) is a bug. Updating pook to always return bytes, thereby matching the client libraries (and only affecting a single client library, urllib) does not need a deprecation warning. Removing the binary parameter does, but this alone can be handled much more simply.

@sarayourfriend sarayourfriend merged commit 495f699 into master Jun 17, 2024
5 checks passed
@sarayourfriend sarayourfriend deleted the revert-130-add/response-body-binary-deprecation-notice branch June 17, 2024 06:28
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.

None yet

1 participant