Home
last modified time | relevance | path

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

/external/webrtc/examples/peerconnection/server/
Ddata_socket.cc235 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/
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_test.cc120 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()
Dhttp_utils_test.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()
310 request.GetHeader(request_header::kContentType)); in TEST()
377 request.GetHeader(request_header::kContentType)); in TEST()
Dhttp_transport_fake.cc181 GetHeader(request_header::kContentType)) == in GetDataAsJson()
224 GetHeader(request_header::kContentType)); in GetFormField()
245 {response_header::kContentType, mime_type}}); in Reply()
Dhttp_connection_curl_test.cc231 {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()
Dhttp_request.h55 BRILLO_EXPORT extern const char kContentType[];
95 BRILLO_EXPORT extern const char kContentType[];
Dhttp_form_data.cc28 const char kContentType[] = "Content-Type"; variable
61 headers.emplace_back(form_header::kContentType, GetContentType()); in GetContentHeader()