kos/entry/http/method.go

16 lines
360 B
Go
Raw Normal View History

2023-04-23 17:57:36 +08:00
package http
import "net/http"
const (
MethodGet = http.MethodGet
MethodHead = http.MethodHead
MethodPost = http.MethodPost
MethodPut = http.MethodPut
MethodPatch = http.MethodPatch // RFC 5789
MethodDelete = http.MethodDelete
MethodConnect = http.MethodConnect
MethodOptions = http.MethodOptions
MethodTrace = http.MethodTrace
)