Skip to content

docs: update references to obsolete HTTP RFCs - #2821

Closed
Iceland26 wants to merge 1 commit into
falconry:masterfrom
Iceland26:docs-update-obsolete-rfc-references
Closed

Iceland26 wants to merge 1 commit into
falconry:masterfrom
Iceland26:docs-update-obsolete-rfc-references

Conversation

@Iceland26

Copy link
Copy Markdown

Fixes #2525.

Updates references to obsolete HTTP RFCs across the docs and codebase:

  • RFC 7230-7235 and RFC 7238 -> RFC 9110 / 9111 / 9112, with section numbers remapped per reference against the current RFCs (this also corrects a few section numbers that were swapped, e.g. the 403/404 citations).
  • RFC 7540 -> RFC 9113 (FAQ).
  • RFC 7159 -> RFC 8259.

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.

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.
@vytas7

vytas7 commented Nov 29, 2026

Copy link
Copy Markdown
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.

Also: https://agentscan.tools/user/Iceland26

@falconry falconry temporarily blocked Iceland26 Nov 29, 2026
@vytas7 vytas7 closed this Nov 29, 2026
@vytas7 vytas7 added the ai-slop label Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update references to obsolete RFCs

2 participants