net/http.PushOptions.Method (field)
13 uses
net/http (current package)
h2_bundle.go#L7183: if opts.Method == "" {
h2_bundle.go#L7184: opts.Method = "GET"
h2_bundle.go#L7237: if opts.Method != "GET" && opts.Method != "HEAD" {
h2_bundle.go#L7238: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
h2_bundle.go#L7243: method: opts.Method,
http.go#L189: Method string
golang.org/x/net/http2
server.go#L3087: if opts.Method == "" {
server.go#L3088: opts.Method = "GET"
server.go#L3141: if opts.Method != "GET" && opts.Method != "HEAD" {
server.go#L3142: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
server.go#L3147: method: opts.Method,
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)