From 4a14103d3803268f2da05a45b19870ddef81acb8 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 25 Jan 2016 08:23:04 +0100 Subject: calcurse-caldav: Fix duplicate Content-Type prefix Signed-off-by: Lukas Fleischer --- contrib/caldav/calcurse-caldav.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index f7eb306..24f7ca4 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -85,9 +85,9 @@ def get_auth_headers(): def remote_query(cmd, path, additional_headers, body): headers = get_auth_headers() if cmd == 'PUT': - headers['Content-Type'] = 'Content-Type: text/calendar; charset=utf-8' + headers['Content-Type'] = 'text/calendar; charset=utf-8' else: - headers['Content-Type'] = 'Content-Type: application/xml; charset=utf-8' + headers['Content-Type'] = 'application/xml; charset=utf-8' headers.update(additional_headers) if debug: -- cgit v1.2.3-70-g09d2