Bug 172706
Summary: | Cancel HTTP/2 push streams with the POST method | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jake Archibald <jaffathecake> |
Component: | Page Loading | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jake Archibald
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
<rdar://problem/37757895>
Brent Fulgham
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.