diff --git a/contracts/http/method.go b/contracts/http/method.go new file mode 100644 index 000000000..f9e5ba4cf --- /dev/null +++ b/contracts/http/method.go @@ -0,0 +1,17 @@ +package http + +import ( + "net/http" +) + +const ( + MethodGet = http.MethodGet + MethodHead = http.MethodHead + MethodPost = http.MethodPost + MethodPut = http.MethodPut + MethodPatch = http.MethodPatch + MethodDelete = http.MethodDelete + MethodConnect = http.MethodConnect + MethodOptions = http.MethodOptions + MethodTrace = http.MethodTrace +)