net/http.PushOptions.Method (field)
13 uses
net/http (current package)
h2_bundle.go#L6489: if opts.Method == "" {
h2_bundle.go#L6490: opts.Method = "GET"
h2_bundle.go#L6543: if opts.Method != "GET" && opts.Method != "HEAD" {
h2_bundle.go#L6544: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
h2_bundle.go#L6549: method: opts.Method,
http.go#L122: Method string
golang.org/x/net/http2
server.go#L2976: if opts.Method == "" {
server.go#L2977: opts.Method = "GET"
server.go#L3030: if opts.Method != "GET" && opts.Method != "HEAD" {
server.go#L3031: return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
server.go#L3036: method: opts.Method,
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)