Skip to content

Conversation

@pR0Ps
Copy link
Contributor

@pR0Ps pR0Ps commented Mar 25, 2023

The content property of a Response object is expected to always be bytes (the text property should be a string).

This change fixes an issue where consumers of the library that were returned a SanitizedResponse object could fail because they expected the content attribute of it to be bytes instead of a string.

The `content` property of a `Response` object is expected to always be
bytes (the `text` property should be a string).

This change fixes an issue where consumers of the library that were
returned a `SanitizedResponse` object could fail because they expected
the `content` attribute of it to be bytes instead of a string.

Signed-off-by: Carey Metcalfe <[email protected]>
@jborean93 jborean93 merged commit f978789 into pythongssapi:main Feb 16, 2024
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.

2 participants