You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got it.
Would you create a PR? isinstance(data, io.BufferedReader) or isinstance(data, io.BufferedRandom) could be replaced with isinstance(data, (io.BufferedReader, io.BufferedRandom)).
A functional test is required (just sending a file opened with 'r+b' mode should be enough).
https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/client_reqrep.py#L260
i see elif not self.chunked and isinstance(data, io.BufferedReader):
But using aiobotocore i try
Type of Body is io.BufferedRandom
I replace code to
elif not self.chunked and (isinstance(data, io.BufferedReader) or isinstance(data, io.BufferedRandom)):
And that fix problem.
The text was updated successfully, but these errors were encountered: