-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore push() encoding if source is a binary file or stream (#991)
The push() docs explicitly say that the "encoding" param is ignored if the source is bytes or a binary stream. This is useful because the default is encoding='utf-8'; but we should already know the source stream is binary, so let that override the default. Also add a test that "encoding" is ignored in these cases. Fixes #990
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
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