libidav/methods.c

changeset 638
b3077bdb3d77
parent 609
dc3d70848c7c
child 743
716f6bf04c30
equal deleted inserted replaced
637:20241338740c 638:b3077bdb3d77
781 CURLcode do_proppatch_request( 781 CURLcode do_proppatch_request(
782 DavSession *sn, 782 DavSession *sn,
783 char *lock, 783 char *lock,
784 UcxBuffer *request, 784 UcxBuffer *request,
785 UcxBuffer *response) 785 UcxBuffer *response)
786 { 786 {
787 CURL *handle = sn->handle; 787 CURL *handle = sn->handle;
788 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "PROPPATCH"); 788 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "PROPPATCH");
789 789
790 struct curl_slist *headers = NULL; 790 struct curl_slist *headers = NULL;
791 headers = curl_slist_append(headers, "Content-Type: text/xml"); 791 headers = curl_slist_append(headers, "Content-Type: text/xml");

mercurial