Lines Matching defs:resp
1450 const auto &resp = downstream->response();
1478 const auto &trailers = resp.fs.trailers();
1519 const auto &resp = downstream->response();
1525 const auto &headers = resp.fs.headers();
1530 auto response_status = http2::stringify_status(balloc, resp.http_status);
1550 if (!resp.fs.header(http2::HD_SERVER)) {
1582 auto &resp = downstream->response();
1587 resp.http_status = status_code;
1654 auto &resp = downstream->response();
1729 resp.fs.header(http2::HD_LINK) &&
1730 (downstream->get_non_final_response() || resp.http_status == 200) &&
1741 nva.reserve(resp.fs.headers().size() + 6 +
1745 auto response_status = http2::stringify_status(balloc, resp.http_status);
1749 http2::copy_headers_to_nva_nocopy(nva, resp.fs.headers(),
1760 resp.fs.clear_headers();
1773 if (req.connect_proto == ConnectProto::WEBSOCKET && resp.http_status == 101) {
1777 response_status = http2::stringify_status(balloc, resp.http_status);
1782 http2::copy_headers_to_nva_nocopy(nva, resp.fs.headers(), striphd_flags);
1787 auto server = resp.fs.header(http2::HD_SERVER);
1809 if (!resp.fs.header(http2::HD_ALT_SVC)) {
1817 auto via = resp.fs.header(http2::HD_VIA);
1836 p = http::create_via_header_value(p, resp.http_major, resp.http_minor);
1912 auto &resp = downstream->response();
1916 resp.connection_close = true;
1998 auto &resp = downstream->response();
1999 resp.http_status = 308;
2000 resp.fs.add_header_token(StringRef::from_lit("location"), loc, false,
2142 auto &resp = downstream->response();
2151 for (auto &kv : resp.fs.headers()) {
2172 if (resp.is_resource_pushed(scheme, authority, path)) {
2181 resp.resource_pushed(scheme, authority, path);
2291 auto &resp = downstream->response();
2293 if (resp.is_resource_pushed(scheme, authority, path)) {
2303 resp.resource_pushed(scheme, authority, path);