net/http.PushOptions.Method (field)

13 uses

	net/http (current package)
		h2_bundle.go#L7066: 	if opts.Method == "" {
		h2_bundle.go#L7067: 		opts.Method = "GET"
		h2_bundle.go#L7120: 	if opts.Method != "GET" && opts.Method != "HEAD" {
		h2_bundle.go#L7121: 		return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
		h2_bundle.go#L7126: 		method: opts.Method,
		http.go#L191: 	Method string

	golang.org/x/net/http2
		server.go#L2954: 	if opts.Method == "" {
		server.go#L2955: 		opts.Method = "GET"
		server.go#L3008: 	if opts.Method != "GET" && opts.Method != "HEAD" {
		server.go#L3009: 		return fmt.Errorf("method %q must be GET or HEAD", opts.Method)
		server.go#L3014: 		method: opts.Method,