Repository navigation
Conversation
Replace references to the obsoleted RFC 7230-7235 and RFC 7238 with RFC 9110, RFC 9111, and RFC 9112, remapping each section number to the corresponding section of the new document (status code definitions now live in RFC 9110, Section 15; conditional requests in Section 13; range requests in Section 14). Likewise, point the HTTP/2 reference in the FAQ from RFC 7540 to RFC 9113, and the JSON reference from RFC 7159 to RFC 8259. Deliberately left unchanged, after checking each one: * RFC 6585 (428, 429, 431, and 511 status codes): RFC 9110 does not define these codes, and RFC 6585 was not obsoleted by it. * RFC 7239 (Forwarded header field): still current. * RFC 4918, RFC 5842, and RFC 7725 references: not obsolete. * The RFC 2616 mentions in falcon/app.py and falcon/asgi/app.py: these describe wsgiref.validate's own interpretation, as commented in that module's source code, so the historical reference stands. * Historical release notes under docs/changes/. Two HTTPError message strings in falcon/request.py now cite the new sections; the corresponding expectations in tests/test_request_attrs.py were updated to match. Fixes falconry#2525.
Member
|
Unsupervised automation: opening PRs automatically is in violation of our contribution policies. You need to open the PR yourself, regardless of the way it was prepared. |
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.
Fixes #2525.
Updates references to obsolete HTTP RFCs across the docs and codebase:
Deliberately left unchanged: RFC 6585 (not obsoleted by RFC 9110 - it remains the reference for 428/429/431/511), RFC 7239, mentions of RFC 2616 that quote wsgiref's own comment, and historical release notes under docs/changes/.
Two user-visible error strings were updated along with their test expectations. Includes a towncrier news fragment (2525.misc.rst).
Tests: ruff check and format clean; WSGI suite 3562 passed / 334 skipped; ASGI suite 619 passed (one failure in test_stream_chunked_request[uvicorn] that also fails on unmodified master in my sandbox).
Disclosure: this change was prepared with LLM assistance.