Bug 172706

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

Jake Archibald
Reported 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.
Attachments
Jake Archibald
Comment 1 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
Radar WebKit Bug Importer
Comment 2 2018-02-21 13:08:59 PST
Brent Fulgham
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.