mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
15 lines
478 B
Go
15 lines
478 B
Go
|
package fasthttp
|
||
|
|
||
|
// HTTP methods were copied from net/http.
|
||
|
const (
|
||
|
MethodGet = "GET" // RFC 7231, 4.3.1
|
||
|
MethodHead = "HEAD" // RFC 7231, 4.3.2
|
||
|
MethodPost = "POST" // RFC 7231, 4.3.3
|
||
|
MethodPut = "PUT" // RFC 7231, 4.3.4
|
||
|
MethodPatch = "PATCH" // RFC 5789
|
||
|
MethodDelete = "DELETE" // RFC 7231, 4.3.5
|
||
|
MethodConnect = "CONNECT" // RFC 7231, 4.3.6
|
||
|
MethodOptions = "OPTIONS" // RFC 7231, 4.3.7
|
||
|
MethodTrace = "TRACE" // RFC 7231, 4.3.8
|
||
|
)
|