Lines Matching refs:http
46 http::create_forwarded(balloc,
55 http::create_forwarded(
61 http::create_forwarded(
67 http::create_forwarded(
73 http::create_forwarded(
83 auto end = http::create_via_header_value(std::begin(buf), 1, 1);
89 end = http::create_via_header_value(std::begin(buf), 2, 0);
98 c = http::create_affinity_cookie(balloc, StringRef::from_lit("cookie-val"),
103 c = http::create_affinity_cookie(balloc, StringRef::from_lit("alpha"),
108 c = http::create_affinity_cookie(balloc, StringRef::from_lit("bravo"),
114 c = http::create_affinity_cookie(balloc, StringRef::from_lit("charlie"),
134 http::create_altsvc_header_value(balloc, altsvcs));
153 http::create_altsvc_header_value(balloc, altsvcs));
158 CU_ASSERT(http::check_http_scheme(StringRef::from_lit("https"), true));
159 CU_ASSERT(!http::check_http_scheme(StringRef::from_lit("https"), false));
160 CU_ASSERT(!http::check_http_scheme(StringRef::from_lit("http"), true));
161 CU_ASSERT(http::check_http_scheme(StringRef::from_lit("http"), false));
162 CU_ASSERT(!http::check_http_scheme(StringRef::from_lit("foo"), true));
163 CU_ASSERT(!http::check_http_scheme(StringRef::from_lit("foo"), false));
164 CU_ASSERT(!http::check_http_scheme(StringRef{}, true));
165 CU_ASSERT(!http::check_http_scheme(StringRef{}, false));