Add http methods

This commit is contained in:
awengo 2017-02-10 17:45:47 +09:00
parent b55e20ac60
commit 8a2b697625
1 changed files with 16 additions and 9 deletions

View File

@ -60,6 +60,13 @@ var (
"HEAD": "HEAD",
"TRACE": "TRACE",
"CONNECT": "CONNECT",
"MKCOL": "MKCOL",
"COPY": "COPY",
"MOVE": "MOVE",
"PROPFIND": "PROPFIND",
"PROPPATCH": "PROPPATCH",
"LOCK": "LOCK",
"UNLOCK": "UNLOCK",
}
// these beego.Controller's methods shouldn't reflect to AutoRouter
exceptMethod = []string{"Init", "Prepare", "Finish", "Render", "RenderString",