Commit b0880419 authored by Yusei Tahara's avatar Yusei Tahara

Fix a bug on It should have the same arguments as

parent cedc3d8f
......@@ -142,13 +142,13 @@ class Retry(object):
def read(self, size=16*1024):
data =
def read(self, amt=None):
data =
if not data:
if self.position < self.content_length:
if self.response is not None:
data =
data =
self.position += len(data)
return data
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment