From 5a4b2e965f196d02256eb588000e99515f2c3f12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 6 Jul 2009 21:00:11 +0000 Subject: [PATCH] * fix typo in HTTP headers. thanks to koos for pointing this out. --- citadel/modules/extnotify/funambol65.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 1c499446c..30d6d0fe2 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -90,7 +90,7 @@ int notify_http_server(char *remoteurl, curl_easy_setopt(curl, CURLOPT_INTERFACE, config.c_ip_addr); } - headers = curl_slist_append(headers,"Accept: application/soap+xml, application/dime, multipart/related, text/*"); + headers = curl_slist_append(headers,"Accept: application/soap+xml, application/mime, multipart/related, text/*"); headers = curl_slist_append(headers,"Pragma: no-cache"); if (tlen > 0) { @@ -146,7 +146,7 @@ int notify_http_server(char *remoteurl, /* pass our list of custom made headers */ contenttype=(char*) malloc(40+strlen(mimetype)); - sprintf(contenttype,"Content-type: %s; charset=utf-8", mimetype); + sprintf(contenttype,"Content-Type: %s; charset=utf-8", mimetype); headers = curl_slist_append(headers, "SOAPAction: \"\""); headers = curl_slist_append(headers, contenttype); -- 2.30.2