method.go 360 B

123456789101112131415
  1. package http
  2. import "net/http"
  3. const (
  4. MethodGet = http.MethodGet
  5. MethodHead = http.MethodHead
  6. MethodPost = http.MethodPost
  7. MethodPut = http.MethodPut
  8. MethodPatch = http.MethodPatch // RFC 5789
  9. MethodDelete = http.MethodDelete
  10. MethodConnect = http.MethodConnect
  11. MethodOptions = http.MethodOptions
  12. MethodTrace = http.MethodTrace
  13. )