Lines Matching refs:method

413           parser->method = PHP_HTTP_HEAD;  in php_http_parser_execute()
578 parser->method = (enum php_http_method) 0; in php_http_parser_execute()
581 case 'C': parser->method = PHP_HTTP_CONNECT; /* or COPY, CHECKOUT */ break; in php_http_parser_execute()
582 case 'D': parser->method = PHP_HTTP_DELETE; break; in php_http_parser_execute()
583 case 'G': parser->method = PHP_HTTP_GET; break; in php_http_parser_execute()
584 case 'H': parser->method = PHP_HTTP_HEAD; break; in php_http_parser_execute()
585 case 'L': parser->method = PHP_HTTP_LOCK; break; in php_http_parser_execute()
586 … case 'M': parser->method = PHP_HTTP_MKCOL; /* or MOVE, MKACTIVITY, MERGE, M-SEARCH */ break; in php_http_parser_execute()
587 case 'N': parser->method = PHP_HTTP_NOTIFY; break; in php_http_parser_execute()
588 case 'O': parser->method = PHP_HTTP_OPTIONS; break; in php_http_parser_execute()
589 case 'P': parser->method = PHP_HTTP_POST; /* or PROPFIND or PROPPATCH or PUT */ break; in php_http_parser_execute()
590 case 'R': parser->method = PHP_HTTP_REPORT; break; in php_http_parser_execute()
591 case 'S': parser->method = PHP_HTTP_SUBSCRIBE; break; in php_http_parser_execute()
592 case 'T': parser->method = PHP_HTTP_TRACE; break; in php_http_parser_execute()
593 case 'U': parser->method = PHP_HTTP_UNLOCK; /* or UNSUBSCRIBE */ break; in php_http_parser_execute()
594 default: parser->method = PHP_HTTP_NOT_IMPLEMENTED; break; in php_http_parser_execute()
606 matcher = method_strings[parser->method]; in php_http_parser_execute()
607 if (ch == ' ' && (matcher[index] == '\0' || parser->method == PHP_HTTP_NOT_IMPLEMENTED)) { in php_http_parser_execute()
611 } else if (parser->method == PHP_HTTP_CONNECT) { in php_http_parser_execute()
613 parser->method = PHP_HTTP_CHECKOUT; in php_http_parser_execute()
615 parser->method = PHP_HTTP_COPY; in php_http_parser_execute()
617 } else if (parser->method == PHP_HTTP_MKCOL) { in php_http_parser_execute()
619 parser->method = PHP_HTTP_MOVE; in php_http_parser_execute()
621 parser->method = PHP_HTTP_MERGE; in php_http_parser_execute()
623 parser->method = PHP_HTTP_MSEARCH; in php_http_parser_execute()
625 parser->method = PHP_HTTP_MKACTIVITY; in php_http_parser_execute()
627 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'R') { in php_http_parser_execute()
628 parser->method = PHP_HTTP_PROPFIND; /* or HTTP_PROPPATCH */ in php_http_parser_execute()
629 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'U') { in php_http_parser_execute()
630 parser->method = PHP_HTTP_PUT; in php_http_parser_execute()
631 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'A') { in php_http_parser_execute()
632 parser->method = PHP_HTTP_PATCH; in php_http_parser_execute()
633 } else if (index == 2 && parser->method == PHP_HTTP_UNLOCK && ch == 'S') { in php_http_parser_execute()
634 parser->method = PHP_HTTP_UNSUBSCRIBE; in php_http_parser_execute()
635 } else if (index == 4 && parser->method == PHP_HTTP_PROPFIND && ch == 'P') { in php_http_parser_execute()
636 parser->method = PHP_HTTP_PROPPATCH; in php_http_parser_execute()
638 parser->method = PHP_HTTP_NOT_IMPLEMENTED; in php_http_parser_execute()
1374 if (parser->flags & F_UPGRADE || parser->method == PHP_HTTP_CONNECT) { in php_http_parser_execute()
1607 parser->method = 0; in php_http_parser_init()