Tom
Tom

Reputation: 53

HTTP/2.0 in browser: How does Browser cancel Server Push?

I've read documentation of HTTP/2.0 and I know that it is possible to fully terminates the referenced stream by using the RST_STREAM frame. Here's (https://http2.github.io/http2-spec/)!

How can I implement this feature in a web browser like Google Chrome or Firefox?

Upvotes: 0

Views: 150

Answers (1)

Matthias247
Matthias247

Reputation: 10396

As a browser user or web app developer (HTTP/Javascript) you can't. There is no public API for this, or to interact with server push in general. The possibility to do this is probably implemented in the network stack of the browser (somewhere deep within the Chrome/Firefox code).

Upvotes: 1

Related Questions