Searched refs:CONTENT_LENGTH (Results 1 – 6 of 6) sorted by relevance
64 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()
90 headers[Http::CONTENT_LENGTH] = std::to_string(contentLength_); in specialHeaders()
60 static const char* CONTENT_LENGTH; variable
42 const char* Http::CONTENT_LENGTH = "Content-Length"; member in Http
330 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()
157 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