* fix typo in HTTP headers. thanks to koos for pointing this out.
authorWilfried Göesgens <willi@citadel.org>
Mon, 6 Jul 2009 21:00:11 +0000 (21:00 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 6 Jul 2009 21:00:11 +0000 (21:00 +0000)
citadel/modules/extnotify/funambol65.c

index 1c499446cadd638e856de5e84666c7459d663a3a..30d6d0fe2f8cfd246aa1e3f5ca11fd7146af214c 100644 (file)
@@ -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);