Skip to content

Conversation

@bruceadams
Copy link
Contributor

This is a possible fix for issue #6586.

I am not at all confident that this is an appropriate change for Requests. All of the unit tests pass locally for me (specifically make ci).

There are two tests here. One demonstrating existing, correct
behavior for `data=bytes`, and another, failing, test for the case
where `data=string` and the string contains multi-byte UTF-8.
@goelbenj
Copy link

@sigmavirus24 would you mind taking at these new changes?

@nateprewitt nateprewitt added this to the 2.32.0 milestone Feb 21, 2024
@sigmavirus24
Copy link
Contributor

closing and re-opening to trigger a new build

Copy link
Member

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

I'll leave any final comments and merging to @sigmavirus24 but this looks reasonable to me. Thanks @bruceadams!

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.

4 participants