Bug 172706

Summary: Cancel HTTP/2 push streams with the POST method
Product: WebKit Reporter: Jake Archibald <jaffathecake>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: achristensen, beidson, bfulgham, koivisto, manian, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Jake Archibald 2017-05-30 04:58:05 PDT
Safari never seems to match POST items in the push cache, so allowing them to be pushed is a waste of bandwidth.

Firefox and Edge currently reject pushed POST requests.

I built a little test suite thing for this: https://github.com/jakearchibald/http2-push-test/

The test is served at /push-post/. /push-post/ is pushed with method POST, but making a post request to this URL does not match it.
Comment 1 Jake Archibald 2017-05-31 01:50:52 PDT
Oh, it's also a violation of the spec, since POST requests aren't "safe" http://httpwg.org/specs/rfc7540.html#PushResources
Comment 2 Radar WebKit Bug Importer 2018-02-21 13:08:59 PST
Comment 3 Brent Fulgham 2022-02-10 14:14:29 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This should now be fixed in shipping software.