aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/caldav
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-25 08:23:04 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-25 10:24:02 +0100
commit4a14103d3803268f2da05a45b19870ddef81acb8 (patch)
tree90f01fe89ac1798c0e14f5d3ba0f223a540bd413 /contrib/caldav
parent2f82457bbc4e0aba4be0dc513524b06ba4e800d4 (diff)
downloadcalcurse-4a14103d3803268f2da05a45b19870ddef81acb8.tar.gz
calcurse-4a14103d3803268f2da05a45b19870ddef81acb8.zip
calcurse-caldav: Fix duplicate Content-Type prefix
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/caldav')
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py4
1 files changed, 2 insertions, 2 deletions
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: