Skip to content

Commit

Permalink
add BytesIOProxy.readable()
Browse files Browse the repository at this point in the history
  • Loading branch information
valq7711 committed Aug 5, 2024
1 parent 295273b commit e10d88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ombott/request_pkg/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ def tell(self) -> int:
def seekable(self) -> bool:
return True

def readable(self) -> bool:
return True

def seek(self, pos: int, whence=SEEK_SET) -> int:
if whence == SEEK_SET:
if pos < 0:
Expand Down

0 comments on commit e10d88a

Please sign in to comment.