Home
last modified time | relevance | path

Searched refs:CONTENT_LENGTH (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/oss/src/model/
A DObjectMetaData.cc64 if (metaData_.find(Http::CONTENT_LENGTH) != metaData_.end()) { in ContentLength()
65 return atoll(metaData_.at(Http::CONTENT_LENGTH).c_str()); in ContentLength()
149 metaData_[Http::CONTENT_LENGTH] = std::to_string(value); in setContentLength()
A DUploadPartRequest.cc90 headers[Http::CONTENT_LENGTH] = std::to_string(contentLength_); in specialHeaders()
/AliOS-Things-master/components/oss/include/alibabacloud/oss/http/
A DHttpType.h60 static const char* CONTENT_LENGTH; variable
/AliOS-Things-master/components/oss/src/http/
A DHttpRequest.cc42 const char* Http::CONTENT_LENGTH = "Content-Length"; member in Http
A DCurlHttpClient.cc330 if (state->response->hasHeader(Http::CONTENT_LENGTH)) { in recvHeaders()
484 if (request->hasHeader(Http::CONTENT_LENGTH)) { in makeRequest()
485 transferState.total = std::atoll(request->Header(Http::CONTENT_LENGTH).c_str()); in makeRequest()
/AliOS-Things-master/components/oss/src/
A DOssClientImpl.cc157 httpRequest->setHeader(Http::CONTENT_LENGTH, "0"); in addBody()
159 httpRequest->removeHeader(Http::CONTENT_LENGTH); in addBody()
163 if ((body != nullptr) && !httpRequest->hasHeader(Http::CONTENT_LENGTH)) { in addBody()
165 httpRequest->setHeader(Http::CONTENT_LENGTH, std::to_string(streamSize)); in addBody()

Completed in 10 milliseconds