Repository navigation
mod_http2: Support the asterisk-form of OPTIONS requests. - #844
Open
arturobernalg wants to merge 1 commit into
Open
arturobernalg wants to merge 1 commit into
arturobernalg wants to merge 1 commit into
Conversation
RFC 9113, Section 8.3.1 allows ':path: *' for OPTIONS requests (the asterisk-form). h2_stream_end_headers() rejects any ':path' not starting with '/' as malformed, so 'OPTIONS *' over HTTP/2 gets a 400. Backport of r1938821 from trunk. PR: 70195
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of r1938821 from trunk (GitHub #788).
RFC 9113, Section 8.3.1 allows ':path: *' for OPTIONS requests (the asterisk-form). h2_stream_end_headers() rejects any ':path' not starting with '/', so 'OPTIONS *' over HTTP/2 gets a 400.
The code change, the test (test_203_rfc9113.py) and the changes-entries file are the same as in trunk.
Tested locally: test_203_rfc9113.py passes, no new failures in the http2, core and http1 suites, and mod_http2 builds cleanly with --enable-maintainer-mode and -Werror.
As usual for 2.4.x, this needs a STATUS proposal and votes before merge.
PR: 70195