MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetDeleteRequest

Method SetDeleteRequest

tensorflow/core/platform/cloud/curl_http_request.cc:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void CurlHttpRequest::SetDeleteRequest() {
216 CheckNotSent();
217 CheckMethodNotSet();
218 is_method_set_ = true;
219 method_ = RequestMethod::kDelete;
220 CHECK_CURL_OK(
221 libcurl_->curl_easy_setopt(curl_, CURLOPT_CUSTOMREQUEST, "DELETE"));
222}
223
224Status CurlHttpRequest::SetPutFromFile(const string& body_filepath,
225 size_t offset) {

Callers 2

DeleteFileMethod · 0.45
TESTFunction · 0.45

Calls 1

curl_easy_setoptMethod · 0.45

Tested by 1

TESTFunction · 0.36