Searched refs:kContentType (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 235 static const char kContentType[] = "Content-Type:"; in ParseContentLengthAndType() local 243 } else if ((headers + ARRAYSIZE(kContentType)) < end && in ParseContentLengthAndType() 244 strncmp(headers, kContentType, ARRAYSIZE(kContentType) - 1) == in ParseContentLengthAndType() 246 headers += ARRAYSIZE(kContentType) - 1; in ParseContentLengthAndType()
|
/external/libbrillo/brillo/http/ |
D | http_request.cc | 47 const char request_header::kContentType[] = "Content-Type"; member in brillo::http::request_header 85 const char response_header::kContentType[] = "Content-Type"; member in brillo::http::response_header 203 AddHeader(request_header::kContentType, form_data->GetContentType()); in AddRequestBodyAsFormData() 272 headers.emplace_back(request_header::kContentType, content_type_); in SendRequestIfNeeded() 322 return GetHeader(response_header::kContentType); in GetContentType()
|
D | http_request_test.cc | 120 request.AddHeader(request_header::kContentType, mime::text::kPlain); in TEST_F() 129 {request_header::kContentType, mime::text::kPlain}, in TEST_F() 171 EXPECT_CALL(*connection, GetResponseHeader(response_header::kContentType)) in TEST_F()
|
D | http_utils_test.cc | 31 request.GetHeader(request_header::kContentType)); in EchoDataHandler() 226 EXPECT_EQ("", request.GetHeader(request_header::kContentType)); in TEST() 254 EXPECT_EQ("", request.GetHeader(request_header::kContentType)); in TEST() 274 request.GetHeader(request_header::kContentType)); in TEST() 310 request.GetHeader(request_header::kContentType)); in TEST() 377 request.GetHeader(request_header::kContentType)); in TEST()
|
D | http_transport_fake.cc | 181 GetHeader(request_header::kContentType)) == in GetDataAsJson() 224 GetHeader(request_header::kContentType)); in GetFormField() 245 {response_header::kContentType, mime_type}}); in Reply()
|
D | http_connection_curl_test.cc | 231 {request_header::kContentType, mime::text::kPlain}, in TEST_F() 295 {response_header::kContentType, mime::text::kHtml}, in TEST_F() 317 connection_->GetResponseHeader(response_header::kContentType)); in TEST_F()
|
D | http_request.h | 55 BRILLO_EXPORT extern const char kContentType[]; 95 BRILLO_EXPORT extern const char kContentType[];
|
D | http_form_data.cc | 28 const char kContentType[] = "Content-Type"; variable 61 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()
|