Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix encoding when body is unicode; #254
If a Response body is a unicode we want to encode it using self.charset when sending to the wire. For static resources the body should be a byte string so we shouldn't need to encode it at all.
- Loading branch information
1 parent
4accdf2
commit 9c170f0
Showing
3 changed files
with
3 additions
and
3 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
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