Skip to content

Document that pushed origins aren't checked - #536

Open
ericmj wants to merge 1 commit into
http2-connect-204from
http2-push-origin-docs
Open

ericmj wants to merge 1 commit into
http2-connect-204from
http2-push-origin-docs

Conversation

@ericmj

@ericmj ericmj commented Oct 16, 2026

Copy link
Copy Markdown
Member

RFC 9113 8.4 only lets a server push responses for origins it's authoritative for. Mint doesn't check the pushed :scheme and :authority, so the server push docs now say to compare them with the connection's origin before using a pushed response and to cancel the promised request with cancel_request/2 if they don't match.

The example of promised headers also lists :scheme and :authority, which promised requests always include.

RFC 9113 8.4 only lets a server push responses for origins it's
authoritative for. Mint doesn't check the pushed :scheme and :authority,
so the server push docs now say to compare them with the connection's
origin before using a pushed response and to cancel the promised request
with cancel_request/2 if they don't match.

The example of promised headers also lists :scheme and :authority, which
promised requests always include.
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 0

Coverage increased (+0.4%) to 91.004%

Details

  • Coverage increased (+0.4%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 2012
Covered Lines: 1831
Line Coverage: 91.0%
Coverage Strength: 722.31 hits per line

馃挍 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants