[evolution-data-server/gnome-2-30] Use text/vcard content type on WebDAV PUT request
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] Use text/vcard content type on WebDAV PUT request
- Date: Thu, 8 Jul 2010 11:27:48 +0000 (UTC)
commit 531766b6deed5285092c729b12bbe2cd53f399ed
Author: Milan Crha <mcrha redhat com>
Date: Thu Jul 8 13:27:30 2010 +0200
Use text/vcard content type on WebDAV PUT request
See bug #604650 for more details.
.../backends/webdav/e-book-backend-webdav.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/backends/webdav/e-book-backend-webdav.c b/addressbook/backends/webdav/e-book-backend-webdav.c
index c7cd48d..b851b1e 100644
--- a/addressbook/backends/webdav/e-book-backend-webdav.c
+++ b/addressbook/backends/webdav/e-book-backend-webdav.c
@@ -230,7 +230,7 @@ upload_contact(EBookBackendWebdav *webdav, EContact *contact)
e_contact_set(contact, E_CONTACT_UID, NULL);
e_contact_set(contact, E_CONTACT_REV, NULL);
request = e_vcard_to_string(E_VCARD(contact), EVC_FORMAT_VCARD_30);
- soup_message_set_request(message, "text/x-vcard", SOUP_MEMORY_TEMPORARY,
+ soup_message_set_request(message, "text/vcard", SOUP_MEMORY_TEMPORARY,
request, strlen(request));
status = soup_session_send_message(webdav->priv->session, message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]