1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +00:00

Strip empty lines from content

This commit is contained in:
Guillaume Ayoub 2016-08-05 02:25:15 +02:00
parent 26e1c9ba89
commit 8682504c6e

View file

@ -306,7 +306,7 @@ class Application:
environ["wsgi.input"].read(content_length), environ)
except socket.timeout:
return response(client.REQUEST_TIMEOUT)
self.logger.debug("Request content:\n%s" % content)
self.logger.debug("Request content:\n%s" % content.strip())
else:
content = None