Home
last modified time | relevance | path

Searched refs:kContentType (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.cc232 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/
Dhttp_request.cc47 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()
Dhttp_request_unittest.cc120 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()
Dhttp_utils_unittest.cc31 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()
Dhttp_transport_fake.cc176 GetHeader(request_header::kContentType)) == in GetDataAsJson()
226 GetHeader(request_header::kContentType)); in GetFormField()
247 {response_header::kContentType, mime_type}}); in Reply()
Dhttp_connection_curl_unittest.cc230 {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()
Dhttp_request.h55 BRILLO_EXPORT extern const char kContentType[];
95 BRILLO_EXPORT extern const char kContentType[];
Dhttp_form_data.cc26 const char kContentType[] = "Content-Type"; variable
59 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()
/external/libweave/src/
Dhttp_constants.h22 extern const char kContentType[];
Dhttp_constants.cc14 const char kContentType[] = "Content-Type"; variable
Ddevice_registration_info_unittest.cc116 return {http::kContentType, http::kJsonUtf8}; in GetJsonHeader()
120 return {http::kContentType, http::kWwwFormUrlEncoded}; in GetFormHeader()
Ddevice_registration_info.cc176 headers.emplace_back(http::kContentType, mime_type_); in GetFullHeaders()
/external/libweave/src/privet/
Dprivet_manager.cc118 SplitAtFirst(request->GetFirstHeader(http::kContentType), ";", true) in PrivetRequestHandler()