ref: cd933b2a9c5dc9dc2c469d243257154309c2dc6a
parent: 099da8cb824ee60bf3f55e9e69380660f167b216
author: mischief <[email protected]>
date: Wed Nov 28 06:34:52 EST 2018
hgwebfs: read to eof by default to match urllib2 behavior
--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -59,7 +59,7 @@
finally:
ctl.close()
- def read(self, amt=4096):
+ def read(self, amt=-1):
return self.body.read(amt);
def close(self):