Why browser is not working http2 server push?

I wanted to experiment with server push resources.
Try out the tutorial:
if pusher, ok := w.(http.Pusher); ok {
 // Push is supported.
 if err := pusher.Push("/app.js", nil); err != nil {
 log.Printf("Failed to push: %v", err)
 // ...

`w.(http.Pusher)` returns not OK. Where w is gin.Context.Writer that supports the conversion to the http interface.ResponseWriter

Chrome 63.
https is, inspector shows the Protocol h2.
June 10th 19 at 14:48
0 answer

Find more questions by tags Go