The x/net/http2 client doesn’t currently support receiving push promises - https://github.com/golang/net/blob/master/http2/transport.go#L2955
The tracking task is https://github.com/golang/go/issues/18594 -eli > On Jan 26, 2023, at 11:29 AM, cheng dong <[email protected]> wrote: > > says we do a server-push from http2 server, then how could we handle it in > golang code by http client in go 1.20rc3? > > was there a HandlePush in early go version, if i did not forget > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/212cd7f2-abd0-4c0a-9b48-f141dfdf236dn%40googlegroups.com > > <https://groups.google.com/d/msgid/golang-nuts/212cd7f2-abd0-4c0a-9b48-f141dfdf236dn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/239AD65C-FF9F-4299-87A6-5577825842E2%40siliconsprawl.com.
