Lines Matching defs:scheme
352 auto scheme = req.fs.header(http2::HD__SCHEME);
372 if (scheme) {
373 req.scheme = scheme->value;
423 !http::check_http_scheme(req.scheme, handler_->get_ssl() != nullptr)) {
752 req.scheme = value;
1670 downstream->rewrite_location_response_header(req.scheme);
1802 http::require_cookie_secure_attribute(cookieconf.secure, req.scheme);
1975 if (req.regular_connect_method() || req.scheme != "http") {
2156 StringRef scheme, authority, path;
2158 rv = http2::construct_push_component(balloc, scheme, authority, path,
2164 if (scheme.empty()) {
2165 scheme = req.scheme;
2172 if (resp.is_resource_pushed(scheme, authority, path)) {
2176 rv = submit_push_promise(scheme, authority, path, downstream);
2181 resp.resource_pushed(scheme, authority, path);
2187 int Http2Upstream::submit_push_promise(const StringRef &scheme,
2194 // 4 for :method, :scheme, :path and :authority
2199 nva.push_back(http2::make_nv_ls_nocopy(":scheme", scheme));
2275 StringRef scheme, authority, path;
2277 rv = http2::construct_push_component(balloc, scheme, authority, path, base,
2283 if (scheme.empty()) {
2284 scheme = req.scheme;
2293 if (resp.is_resource_pushed(scheme, authority, path)) {
2297 rv = submit_push_promise(scheme, authority, path, downstream);
2303 resp.resource_pushed(scheme, authority, path);