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"); |