Bug 172706 - Cancel HTTP/2 push streams with the POST method
Summary: Cancel HTTP/2 push streams with the POST method
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-30 04:58 PDT by Jake Archibald
Modified: 2022-02-10 14:14 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
<rdar://problem/37757895>
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.