Skip to content

Commit

Permalink
请求方法限制支持
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Aug 24, 2020
1 parent eba63b7 commit ae1a8df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Annotation/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ function __construct(?Annotation $annotation = null)
static::preDefines([
"POST" => "POST",
"GET" => "GET",
"PUT" => "PUT",
"DELETE" => "DELETE",
"PATCH" => "PATCH",
"HEAD" => "HEAD",
"OPTIONS" => "OPTIONS",
'COOKIE' => 'COOKIE',
'HEADER' => 'HEADER',
'FILE' => 'FILE',
Expand Down

0 comments on commit ae1a8df

Please sign in to comment.