Skip to content

docs: update RFC references from 7231/7230 to 9110#60

Open
mahmoodhamdi wants to merge 1 commit intojshttp:masterfrom
mahmoodhamdi:docs/update-rfc-references
Open

docs: update RFC references from 7231/7230 to 9110#60
mahmoodhamdi wants to merge 1 commit intojshttp:masterfrom
mahmoodhamdi:docs/update-rfc-references

Conversation

@mahmoodhamdi
Copy link
Copy Markdown

Summary

Updates all RFC references in source code, README, and package.json to point to the current HTTP specification:

  • RFC 7231 sec 3.1.1.1 (Media Type) → RFC 9110 sec 8.3.1
  • RFC 7230 sec 3.2.6 (Quoted Strings) → RFC 9110 sec 5.6.4
  • README description updated from "RFC 7231" to "RFC 9110"
  • package.json keyword updated from "rfc7231" to "rfc9110"

Why

RFC 7231 (HTTP/1.1 Semantics and Content) and RFC 7230 (HTTP/1.1 Message Syntax and Routing) were superseded by RFC 9110 (HTTP Semantics) in June 2022. The ABNF definitions are identical between the old and new RFCs, so this is a documentation-only change with no functional impact.

This was suggested in #29 (comment) by @wesleytodd as a good first contribution separate from the duplicate header handling discussion.

Testing

All 43 existing tests pass. 100% coverage maintained. No functional changes.

RFC 7231 (HTTP/1.1 Semantics and Content) and RFC 7230 (HTTP/1.1
Message Syntax and Routing) have been superseded by RFC 9110 (HTTP
Semantics). Update all references to point to the corresponding
sections in the current specification:

- RFC 7231 sec 3.1.1.1 → RFC 9110 sec 8.3.1 (Media Type)
- RFC 7230 sec 3.2.6 → RFC 9110 sec 5.6.4 (Quoted Strings)

The ABNF definitions remain identical between the old and new RFCs,
so no functional changes are needed.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4d2e19d) to head (050bef4).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           97        97           
  Branches        40        40           
=========================================
  Hits            97        97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant