hgwebfs: read to eof by default to match urllib2 behavior
This commit is contained in:
parent
099da8cb82
commit
cd933b2a9c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Webconn:
|
|||
finally:
|
||||
ctl.close()
|
||||
|
||||
def read(self, amt=4096):
|
||||
def read(self, amt=-1):
|
||||
return self.body.read(amt);
|
||||
|
||||
def close(self):
|
||||
|
|
Loading…
Reference in a new issue