Bug 172706 - Cancel HTTP/2 push streams with the POST method
Summary: Cancel HTTP/2 push streams with the POST method
Status: NEW
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:
Depends on:
Blocks:
 
Reported: 2017-05-30 04:58 PDT by Jake Archibald
Modified: 2017-05-31 01:50 PDT (History)
3 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