Skip to content

Update obsolete RFC 7230/7231 references to RFC 9110 - #3874

Open
shiran-yu wants to merge 1 commit into
encode:masterfrom
shiran-yu:rfc-citations
Open

shiran-yu wants to merge 1 commit into
encode:masterfrom
shiran-yu:rfc-citations

Conversation

@shiran-yu

Copy link
Copy Markdown

Comment and docs only. RFC 7230 and 7231 were obsoleted by RFC 9110/9112 (2022):

  • rfc7231#section-6.4.4 (303 See Other) -> rfc9110#section-15.4.4
  • RFC 7231 7.1.2 (Location) -> RFC 9110 10.2.2
  • rfc7230#section-3.2.2 (Field Order) -> rfc9110#section-5.3
  • RFC 3513 (IPv6 addressing) -> RFC 4291

Found with specrot.
The RFC list in _status_codes.py is left alone (it names documents by title).

Copilot AI balanced review requested due to automatic review settings November 27, 2026 05:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues remain in the update to HTTPX’s RFC references.

No open issues 🎉

What changed in this PR

Refreshes HTTPX’s standards references in comments and docstrings without changing runtime behavior.

Changes:

  • Replaces RFC 7230/7231 citations with RFC 9110 sections for header combination and redirect handling.
  • Updates the IPv6 addressing reference from RFC 3513 to RFC 4291.
File Description
httpx/​_urlparse.py Updates the IPv6 RFC reference in a comment.
httpx/​_models.py Updates the header-combination docstring to cite RFC 9110 §5.3.
httpx/​_client.py Updates comments covering 303 redirects, relative Location values, and fragment inheritance.

Review effort: Balanced

This branch has not been deployed

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants