Lines Matching refs:request_body
145 string request_body; in SendRequest() local
147 file_part_name, boundary, &request_body)) { in SendRequest()
168 const_cast<char *>(request_body.data()), in SendRequest()
169 static_cast<DWORD>(request_body.size()))) { in SendRequest()
274 string *request_body) { in GenerateRequestBody() argument
285 request_body->clear(); in GenerateRequestBody()
290 request_body->append("--" + boundary_str + "\r\n"); in GenerateRequestBody()
291 request_body->append("Content-Disposition: form-data; name=\"" + in GenerateRequestBody()
307 request_body->append("--" + boundary_str + "\r\n"); in GenerateRequestBody()
308 request_body->append("Content-Disposition: form-data; " in GenerateRequestBody()
311 request_body->append("Content-Type: application/octet-stream\r\n"); in GenerateRequestBody()
312 request_body->append("\r\n"); in GenerateRequestBody()
315 request_body->append(&(contents[0]), contents.size()); in GenerateRequestBody()
317 request_body->append("\r\n"); in GenerateRequestBody()
318 request_body->append("--" + boundary_str + "--\r\n"); in GenerateRequestBody()