net/http.transferWriter.Method (field)
12 uses
net/http (current package)
transfer.go#L59: Method string
transfer.go#L85: t.Method = valueOrDefault(rr.Method, "GET")
transfer.go#L111: t.Method = rr.Request.Method
transfer.go#L121: t.ResponseToHEAD = noResponseBodyExpected(t.Method)
transfer.go#L173: if t.Method == "CONNECT" {
transfer.go#L176: if requestMethodUsuallyLacksBody(t.Method) {
transfer.go#L260: if t.Method == "POST" || t.Method == "PUT" || t.Method == "PATCH" {
transfer.go#L264: if t.Method == "GET" || t.Method == "HEAD" {
transfer.go#L362: if t.Method == "CONNECT" {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |