Strip empty lines from content
This commit is contained in:
parent
26e1c9ba89
commit
8682504c6e
@ -306,7 +306,7 @@ class Application:
|
|||||||
environ["wsgi.input"].read(content_length), environ)
|
environ["wsgi.input"].read(content_length), environ)
|
||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
return response(client.REQUEST_TIMEOUT)
|
return response(client.REQUEST_TIMEOUT)
|
||||||
self.logger.debug("Request content:\n%s" % content)
|
self.logger.debug("Request content:\n%s" % content.strip())
|
||||||
else:
|
else:
|
||||||
content = None
|
content = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user