mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
19 lines
327 B
Go
19 lines
327 B
Go
package httputilz
|
|
|
|
import "net/http"
|
|
|
|
// AllHTTPMethods contains all available HTTP methods
|
|
func AllHTTPMethods() []string {
|
|
return []string{
|
|
http.MethodGet,
|
|
http.MethodHead,
|
|
http.MethodPost,
|
|
http.MethodPut,
|
|
http.MethodPatch,
|
|
http.MethodDelete,
|
|
http.MethodConnect,
|
|
http.MethodOptions,
|
|
http.MethodTrace,
|
|
}
|
|
}
|