From 8682504c6eff25e1b901b503f1d56f1554acc7e7 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 5 Aug 2016 02:25:15 +0200 Subject: [PATCH] Strip empty lines from content --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index b99f52e..0326f7f 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -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