Searched refs:method_token (Results 1 – 5 of 5) sorted by relevance
387 bool expect_response_body(int method_token, int status_code);402 StringRef to_method_string(int method_token);
1367 bool expect_response_body(int method_token, int status_code) { in expect_response_body() argument1368 return method_token != HTTP_HEAD && expect_response_body(status_code); in expect_response_body()1572 StringRef to_method_string(int method_token) { in to_method_string() argument1575 llhttp_method_name(static_cast<llhttp_method>(method_token))}; in to_method_string()
354 auto method_token = http2::lookup_method_token(method->value); in on_request_headers() local355 if (method_token == -1) { in on_request_headers()365 if (method_token != HTTP_CONNECT && config->http2_proxy && in on_request_headers()371 req.method = method_token; in on_request_headers()387 if (method_token == HTTP_OPTIONS && in on_request_headers()
2223 auto method_token = http2::lookup_method_token(method->value); in http_end_request_headers() local2224 if (method_token == -1) { in http_end_request_headers()2236 if (method_token != HTTP_CONNECT && config->http2_proxy && in http_end_request_headers()2242 req.method = method_token; in http_end_request_headers()2258 if (method_token == HTTP_OPTIONS && in http_end_request_headers()
2270 auto method_token = http2::lookup_method_token(method->value); in handle_downstream_push_promise_complete() local2271 if (method_token == -1) { in handle_downstream_push_promise_complete()2285 promised_req.method = method_token; in handle_downstream_push_promise_complete()2293 if (method_token != HTTP_OPTIONS || path->value != "*") { in handle_downstream_push_promise_complete()