Lines Matching defs:method
144 // We happen to have the same value for method token.
145 req.method = htp->method;
162 if (req.method == HTTP_CONNECT) {
302 } else if (req.method == HTTP_OPTIONS) {
366 auto method = req.method;
370 ss << http2::to_method_string(method) << " "
371 << (method == HTTP_CONNECT ? req.authority : req.path) << " "
385 // set content-length if method is not CONNECT, and no
388 if (method != HTTP_CONNECT && !req.fs.header(http2::HD_TRANSFER_ENCODING)) {
435 if (method != HTTP_CONNECT) {
446 if (method == HTTP_OPTIONS && req.path == StringRef::from_lit("*")) {
486 // mruby hook may change method value
1166 auto connect_method = req.method == HTTP_CONNECT;
1290 if (req.method != HTTP_CONNECT || !downstream->get_upgraded()) {
1412 if (req.method == HTTP_CONNECT || req.scheme != "http" ||