Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace outdated RFC references #2298

Merged
merged 2 commits into from
May 23, 2024

Conversation

JordonPhillips
Copy link
Contributor

The HTTP RFCs have received some facelifts recently. The vast majority of the HTTP spec is now collected in RFC 9110 with version-specific information broken out into their own RFCs (HTTP 1.1 is in RFC 9112 for example).

This PR updates any references we have to RFCs obsoleted by RFC 9110 and RFC 9112 to those newer RFCs. The semantic content of these sections has not changed, only the presentation.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

RFC 7231 was obsoleted by RFC 9110 in 2022. This updates references
to the old RFC to the equivalent sections in the new one. Note that
the actual content of the referenced sections are semantically
unchanged.
RFC 7230 has been obsoleted by RFC 9110 and RFC 9112. This replaces
references to the old RFC with references to the relevant sections of
the new RFC.
@JordonPhillips JordonPhillips requested a review from a team as a code owner May 23, 2024 11:45
@@ -106,9 +106,8 @@ method
The ``method`` property defines the HTTP method of the operation (e.g., "GET",
"PUT", "POST", "DELETE", "PATCH", etc). Smithy will use this value literally
and will perform no validation on the method. The ``method`` value SHOULD
match the ``operation`` production rule of :rfc:`7230#appendix-B`. This
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This production doesn't seem to exist, even on RFC7230, so I replaced it with a reference to what I think it was talking about.

Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

:shipit:

@JordonPhillips JordonPhillips merged commit 0f2ddf7 into smithy-lang:main May 23, 2024
13 checks passed
@JordonPhillips JordonPhillips deleted the rfc-9110 branch May 23, 2024 16:41
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.

3 participants