github.com/searKing/golang/go@v1.2.117/net/http/method.go (about)

     1  // Copyright 2022 The searKing Author. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package http
     6  
     7  import "net/http"
     8  
     9  var Methods = []string{
    10  	http.MethodGet,
    11  	http.MethodHead,
    12  	http.MethodPost,
    13  	http.MethodPut,
    14  	http.MethodPatch,
    15  	http.MethodDelete,
    16  	http.MethodConnect,
    17  	http.MethodOptions,
    18  	http.MethodTrace,
    19  }