We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82917fd commit ba1891bCopy full SHA for ba1891b
echo.go
@@ -128,6 +128,21 @@ type (
128
}
129
)
130
131
+// HTTP methods
132
+// NOTE: Deprecated, please use the stdlib constants directly instead.
133
+const (
134
+ CONNECT = http.MethodConnect
135
+ DELETE = http.MethodDelete
136
+ GET = http.MethodGet
137
+ HEAD = http.MethodHead
138
+ OPTIONS = http.MethodOptions
139
+ PATCH = http.MethodPatch
140
+ POST = http.MethodPost
141
+ //PROPFIND = "PROPFIND"
142
+ PUT = http.MethodPut
143
+ TRACE = http.MethodTrace
144
+)
145
+
146
// MIME types
147
const (
148
MIMEApplicationJSON = "application/json"
0 commit comments