Searched refs:kContentType (Results 1 – 13 of 13) sorted by relevance
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 232 static const char kContentType[] = "Content-Type:"; in ParseContentLengthAndType() local 240 } else if ((headers + ARRAYSIZE(kContentType)) < end && in ParseContentLengthAndType() 241 strncmp(headers, kContentType, in ParseContentLengthAndType() 242 ARRAYSIZE(kContentType) - 1) == 0) { in ParseContentLengthAndType() 243 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_unittest.cc | 120 request.AddHeader(request_header::kContentType, mime::text::kPlain); in TEST_F() 129 {request_header::kContentType, mime::text::kPlain}, in TEST_F() 170 EXPECT_CALL(*connection_, GetResponseHeader(response_header::kContentType)) in TEST_F()
|
D | http_utils_unittest.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() 309 request.GetHeader(request_header::kContentType)); in TEST() 375 request.GetHeader(request_header::kContentType)); in TEST()
|
D | http_transport_fake.cc | 176 GetHeader(request_header::kContentType)) == in GetDataAsJson() 226 GetHeader(request_header::kContentType)); in GetFormField() 247 {response_header::kContentType, mime_type}}); in Reply()
|
D | http_connection_curl_unittest.cc | 230 {request_header::kContentType, mime::text::kPlain}, in TEST_F() 294 {response_header::kContentType, mime::text::kHtml}, in TEST_F() 316 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 | 26 const char kContentType[] = "Content-Type"; variable 59 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()
|
/external/libweave/src/ |
D | http_constants.h | 22 extern const char kContentType[];
|
D | http_constants.cc | 14 const char kContentType[] = "Content-Type"; variable
|
D | device_registration_info_unittest.cc | 116 return {http::kContentType, http::kJsonUtf8}; in GetJsonHeader() 120 return {http::kContentType, http::kWwwFormUrlEncoded}; in GetFormHeader()
|
D | device_registration_info.cc | 176 headers.emplace_back(http::kContentType, mime_type_); in GetFullHeaders()
|
/external/libweave/src/privet/ |
D | privet_manager.cc | 118 SplitAtFirst(request->GetFirstHeader(http::kContentType), ";", true) in PrivetRequestHandler()
|