HomeSort by relevance Sort by last modified time
    Searched refs:request_header (Results 1 - 8 of 8) sorted by null

  /external/libbrillo/brillo/http/
http_request.cc 32 // request_header
33 const char request_header::kAccept[] = "Accept";
34 const char request_header::kAcceptCharset[] = "Accept-Charset";
35 const char request_header::kAcceptEncoding[] = "Accept-Encoding";
36 const char request_header::kAcceptLanguage[] = "Accept-Language";
37 const char request_header::kAllow[] = "Allow";
38 const char request_header::kAuthorization[] = "Authorization";
39 const char request_header::kCacheControl[] = "Cache-Control";
40 const char request_header::kConnection[] = "Connection";
41 const char request_header::kContentEncoding[] = "Content-Encoding"
    [all...]
http_request_unittest.cc 111 request.AddHeader(request_header::kAcceptEncoding, "compress, gzip");
113 {request_header::kAcceptLanguage, "da, en-gb;q=0.8, en;q=0.7"},
114 {request_header::kConnection, "close"},
120 request.AddHeader(request_header::kContentType, mime::text::kPlain);
126 {request_header::kAcceptEncoding, "compress, gzip"},
127 {request_header::kAcceptLanguage, "da, en-gb;q=0.8, en;q=0.7"},
128 {request_header::kConnection, "close"},
129 {request_header::kContentType, mime::text::kPlain},
130 {request_header::kRange, "bytes=-10,100-200,300-"},
131 {request_header::kAccept, "text/*, text/html, text/html;level=1, */*"}
    [all...]
http_utils_unittest.cc 31 request.GetHeader(request_header::kContentType));
196 {request_header::kCookie, "flavor=vanilla"},
197 {request_header::kIfMatch, "*"},
225 EXPECT_EQ("0", request.GetHeader(request_header::kContentLength));
226 EXPECT_EQ("", request.GetHeader(request_header::kContentType));
253 EXPECT_EQ("0", request.GetHeader(request_header::kContentLength));
254 EXPECT_EQ("", request.GetHeader(request_header::kContentType));
265 EXPECT_EQ("4", response->GetHeader(request_header::kContentLength));
272 EXPECT_EQ("256", request.GetHeader(request_header::kContentLength));
274 request.GetHeader(request_header::kContentType))
    [all...]
http_transport_fake.cc 51 std::make_pair(http::request_header::kUserAgent, user_agent));
55 std::make_pair(http::request_header::kReferer, referer));
176 GetHeader(request_header::kContentType)) ==
226 GetHeader(request_header::kContentType));
http_connection_fake.cc 44 {{request_header::kContentLength, ToString(request_.GetData().size())}});
http_connection_curl_unittest.cc 229 {request_header::kAccept, "*/*"},
230 {request_header::kContentType, mime::text::kPlain},
231 {request_header::kContentLength, std::to_string(request_data.size())},
http_connection_curl.cc 114 headers_.emplace(http::request_header::kTransferEncoding, "chunked");
http_request.h 40 namespace request_header { namespace in namespace:brillo::http
80 } // namespace request_header

Completed in 5347 milliseconds