mirror of https://github.com/python/cpython
Remove a syntax error in the example, spotted by Walter Hofman.
This commit is contained in:
parent
d6359c55cc
commit
c8389c91c2
|
@ -235,7 +235,7 @@ class http_request_handler(asynchat.async_chat):
|
||||||
def found_terminator(self):
|
def found_terminator(self):
|
||||||
if self.reading_headers:
|
if self.reading_headers:
|
||||||
self.reading_headers = False
|
self.reading_headers = False
|
||||||
self.parse_headers("".join(self.ibuffer)
|
self.parse_headers("".join(self.ibuffer))
|
||||||
self.ibuffer = []
|
self.ibuffer = []
|
||||||
if self.op.upper() == "POST":
|
if self.op.upper() == "POST":
|
||||||
clen = self.headers.getheader("content-length")
|
clen = self.headers.getheader("content-length")
|
||||||
|
|
Loading…
Reference in New Issue