hgwebfs: rewind data before pushing
This commit is contained in:
parent
e4dc3f9bd8
commit
7482cd4053
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class Webconn:
|
|||
data = req.get_data()
|
||||
post = open(self.dir+'/postbody', 'w', 0);
|
||||
try:
|
||||
data.seek(0)
|
||||
while True:
|
||||
buf = data.read(4096)
|
||||
if len(buf) == 0:
|
||||
|
|
Loading…
Reference in a new issue