16 lines
360 B
Go
16 lines
360 B
Go
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
|
|
)
|