mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-06-15 16:47:38 +08:00
Merge 0ed9fa3290 into 43fede96d5
This commit is contained in:
commit
465d1ded47
9 changed files with 1715 additions and 9 deletions
36
touka.go
36
touka.go
|
|
@ -60,14 +60,32 @@ var (
|
|||
MethodTrace = "TRACE"
|
||||
)
|
||||
|
||||
var (
|
||||
// WebDAV methods
|
||||
MethodPropfind = "PROPFIND"
|
||||
MethodProppatch = "PROPPATCH"
|
||||
MethodMkcol = "MKCOL"
|
||||
MethodCopy = "COPY"
|
||||
MethodMove = "MOVE"
|
||||
MethodLock = "LOCK"
|
||||
MethodUnlock = "UNLOCK"
|
||||
)
|
||||
|
||||
var MethodsSet = map[string]struct{}{
|
||||
MethodGet: {},
|
||||
MethodHead: {},
|
||||
MethodPost: {},
|
||||
MethodPut: {},
|
||||
MethodPatch: {},
|
||||
MethodDelete: {},
|
||||
MethodConnect: {},
|
||||
MethodOptions: {},
|
||||
MethodTrace: {},
|
||||
MethodGet: {},
|
||||
MethodHead: {},
|
||||
MethodPost: {},
|
||||
MethodPut: {},
|
||||
MethodPatch: {},
|
||||
MethodDelete: {},
|
||||
MethodConnect: {},
|
||||
MethodOptions: {},
|
||||
MethodTrace: {},
|
||||
MethodPropfind: {},
|
||||
MethodProppatch: {},
|
||||
MethodMkcol: {},
|
||||
MethodCopy: {},
|
||||
MethodMove: {},
|
||||
MethodLock: {},
|
||||
MethodUnlock: {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue