go method 源码

2022-07-15 浏览 (879)

golang method 代码

文件路径:/src/net/http/method.go

/ Copyright 2015 The Go Authors. All rights reserved.
/ Use of this source code is governed by a BSD-style
/ license that can be found in the LICENSE file.

package http

/ Common HTTP methods.
/
/ Unless otherwise noted, these are defined in RFC 7231 section 4.3.
const (
	MethodGet     = "GET"
	MethodHead    = "HEAD"
	MethodPost    = "POST"
	MethodPut     = "PUT"
	MethodPatch   = "PATCH" / RFC 5789
	MethodDelete  = "DELETE"
	MethodConnect = "CONNECT"
	MethodOptions = "OPTIONS"
	MethodTrace   = "TRACE"
)

相关信息

go 源码目录

相关文章

go alpn_test 源码

go client 源码

go client_test 源码

go clientserver_test 源码

go clone 源码

go cookie 源码

go cookie_test 源码

go doc 源码

go example_filesystem_test 源码

go example_handle_test 源码

^