how to handle push in http2 client?

115 views
Skip to first unread message

cheng dong

unread,
Jan 26, 2023, 11:29:57 AM1/26/23
to golang-nuts
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

Eli Lindsey

unread,
Jan 26, 2023, 11:54:09 AM1/26/23
to cheng dong, golang-nuts
The x/net/http2 client doesn’t currently support receiving push promises - https://github.com/golang/net/blob/master/http2/transport.go#L2955


-eli

On Jan 26, 2023, at 11:29 AM, cheng dong <qq451...@gmail.com> 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 golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/212cd7f2-abd0-4c0a-9b48-f141dfdf236dn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages