Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion artifactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ def open(self, mode="r", buffering=-1, encoding=None, errors=None, newline=None)
HTTPResponse, as if it was a regular filesystem object.
The only difference is that this object doesn't support seek()
"""
if mode != "r" or buffering != -1 or encoding or errors or newline:
if mode not in {"r", "rb"} or buffering != -1 or encoding or errors or newline:
raise NotImplementedError("Only the default open() arguments are supported")

return self._accessor.open(self)
Expand Down