mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-02-03 00:41:10 +08:00
remove ANY form MethodsSet to avoid conflict
This commit is contained in:
parent
bb822599b9
commit
9a2aeef0d0
1 changed files with 0 additions and 2 deletions
|
|
@ -916,7 +916,6 @@ var (
|
|||
MethodConnect = "CONNECT"
|
||||
MethodOptions = "OPTIONS"
|
||||
MethodTrace = "TRACE"
|
||||
MethodAny = "ANY"
|
||||
)
|
||||
|
||||
var MethodsSet = map[string]struct{}{
|
||||
|
|
@ -929,7 +928,6 @@ var MethodsSet = map[string]struct{}{
|
|||
MethodConnect: {},
|
||||
MethodOptions: {},
|
||||
MethodTrace: {},
|
||||
MethodAny: {},
|
||||
}
|
||||
|
||||
// HandleFunc 注册一个或多个 HTTP 方法的路由
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue