-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set SanitizedResponse content to bytes instead of 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]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters