net/http.PushOptions.Method (field)
13 uses
net/http (current package)
h2_bundle.go#L6309: if opts.Method == "" {
h2_bundle.go#L6310: opts.Method = "GET"
h2_bundle.go#L6359: if opts.Method != "GET" && opts.Method != "HEAD" {
h2_bundle.go#L6360: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
h2_bundle.go#L6365: method: opts.Method,
http.go#L131: Method string
golang.org/x/net/http2
server.go#L2754: if opts.Method == "" {
server.go#L2755: opts.Method = "GET"
server.go#L2804: if opts.Method != "GET" && opts.Method != "HEAD" {
server.go#L2805: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
server.go#L2810: method: opts.Method,
![]() |
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. |