• Home
  • Raw
  • Download

Lines Matching refs:http2

315   req.path = http2::rewrite_clean_path(balloc, path);  in rewrite_request_host_path_from_uri()
347 ss << http2::to_method_string(method) << " " in htp_hdrs_completecb()
365 if (method != HTTP_CONNECT && !req.fs.header(http2::HD_TRANSFER_ENCODING)) { in htp_hdrs_completecb()
373 auto host = req.fs.header(http2::HD_HOST); in htp_hdrs_completecb()
417 req.path = http2::rewrite_clean_path(balloc, req.path); in htp_hdrs_completecb()
931 http2::HD_CONNECTION); in send_reply()
937 auto c = resp.fs.header(http2::HD_CONNECTION); in send_reply()
951 output->append(http2::stringify_status(balloc, resp.http_status)); in send_reply()
953 output->append(http2::get_reason_phrase(resp.http_status)); in send_reply()
960 http2::capitalize(output, kv.name); in send_reply()
966 if (!resp.fs.header(http2::HD_SERVER)) { in send_reply()
1012 output->append(http2::stringify_status(balloc, status_code)); in error_reply()
1014 output->append(http2::get_reason_phrase(status_code)); in error_reply()
1125 buf->append(http2::stringify_status(balloc, 101)); in on_downstream_header_complete()
1127 buf->append(http2::get_reason_phrase(101)); in on_downstream_header_complete()
1129 buf->append(http2::stringify_status(balloc, resp.http_status)); in on_downstream_header_complete()
1131 buf->append(http2::get_reason_phrase(resp.http_status)); in on_downstream_header_complete()
1144 http2::build_http1_headers_from_headers(buf, resp.fs.headers(), in on_downstream_header_complete()
1145 http2::HDOP_STRIP_ALL); in on_downstream_header_complete()
1158 auto build_flags = (http2::HDOP_STRIP_ALL & ~http2::HDOP_STRIP_VIA) | in on_downstream_header_complete()
1159 (!http2::legacy_http1(req.http_major, req.http_minor) in on_downstream_header_complete()
1161 : http2::HDOP_STRIP_TRANSFER_ENCODING); in on_downstream_header_complete()
1163 http2::build_http1_headers_from_headers(buf, resp.fs.headers(), build_flags); in on_downstream_header_complete()
1189 auto key = req.fs.header(http2::HD_SEC_WEBSOCKET_KEY); in on_downstream_header_complete()
1194 auto accept = http2::make_websocket_accept_token(out.data(), key->value); in on_downstream_header_complete()
1202 auto connection = resp.fs.header(http2::HD_CONNECTION); in on_downstream_header_complete()
1209 auto upgrade = resp.fs.header(http2::HD_UPGRADE); in on_downstream_header_complete()
1218 if (!resp.fs.header(http2::HD_ALT_SVC)) { in on_downstream_header_complete()
1238 auto server = resp.fs.header(http2::HD_SERVER); in on_downstream_header_complete()
1262 auto via = resp.fs.header(http2::HD_VIA); in on_downstream_header_complete()
1330 http2::build_http1_headers_from_headers(output, trailers, in on_downstream_body_complete()
1331 http2::HDOP_STRIP_ALL); in on_downstream_body_complete()
1397 http2::HD_LOCATION); in redirect_to_https()
1400 http2::HD_CONNECTION); in redirect_to_https()