libidav/methods.c

changeset 517
8531b63accae
parent 505
481802342fdf
child 609
dc3d70848c7c
equal deleted inserted replaced
516:39f5f17c3bc3 517:8531b63accae
717 CURLcode do_proppatch_request( 717 CURLcode do_proppatch_request(
718 DavSession *sn, 718 DavSession *sn,
719 char *lock, 719 char *lock,
720 UcxBuffer *request, 720 UcxBuffer *request,
721 UcxBuffer *response) 721 UcxBuffer *response)
722 { 722 {
723 CURL *handle = sn->handle; 723 CURL *handle = sn->handle;
724 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "PROPPATCH"); 724 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "PROPPATCH");
725 725
726 struct curl_slist *headers = NULL; 726 struct curl_slist *headers = NULL;
727 headers = curl_slist_append(headers, "Content-Type: text/xml"); 727 headers = curl_slist_append(headers, "Content-Type: text/xml");

mercurial