Original post

There are many examples on how to send server pushes http 2.0 from the server-side, none on how to actually read and listen for them properly client-side.

The closest hint I found was: https://stackoverflow.com/questions/43852955/how-can-i-read-http-2-push-frames-from-a-net-http-request?rq=1

This is something I tested, however I was unable to get it to work.

It references a specific line inside the std lib, this line in the source of the std lib is the same after 3 years.

The line disabling the reading of http2 server push frames in the most current source code: https://github.com/golang/go/blob/master/src/net/http/h2_bundle.go#L7181

Is there any way to work around this or is the only solution really to fork the std lib?

Or am I going at this entirely wrong? Actually not sure what to do.

Any help appreciated, thanks