Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to reading 0 bytes if readable is not implemented.
Gunicorn will wrap the wsgi stream in its own wrapper class (see `class Body`). This class is not compliant with the file-object api from Python (missing `readable`). This issue never showed up before because of https://github.com/quay/quay/blob/master/storage/swift.py#L418 always evaluating to False in Python2, which was fixed by #508.
- Loading branch information
Showing
2 changed files
with
80 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