mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix indent in parser.body_eof
This commit is contained in:
parent
86736e448d
commit
d1011ff301
@ -140,7 +140,7 @@ class Parser(object):
|
|||||||
if self._chunk_eof:
|
if self._chunk_eof:
|
||||||
return True
|
return True
|
||||||
elif self._content_len == 0:
|
elif self._content_len == 0:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def read_chunk(self, data):
|
def read_chunk(self, data):
|
||||||
|
|||||||
@ -147,7 +147,7 @@ class TeeInput(object):
|
|||||||
self.tmp.seek(0, os.SEEK_END)
|
self.tmp.seek(0, os.SEEK_END)
|
||||||
return chunk
|
return chunk
|
||||||
|
|
||||||
if self.parser.body_eof():
|
if self.parser.body_eof():
|
||||||
break
|
break
|
||||||
|
|
||||||
data = read_partial(self.socket, length)
|
data = read_partial(self.socket, length)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user