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