axe unused state
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index ddd8d77..5978771 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -18,7 +18,6 @@
enum {
sw_start = 0,
sw_method,
- sw_space_after_method,
sw_spaces_before_uri,
sw_schema,
sw_schema_slash,
@@ -118,17 +117,6 @@
break;
- /* single space after method */
- case sw_space_after_method:
- switch (ch) {
- case ' ':
- state = sw_spaces_before_uri;
- break;
- default:
- return NGX_HTTP_PARSE_INVALID_METHOD;
- }
- break;
-
/* space* before URI */
case sw_spaces_before_uri: