Skip to content

feat(method): Add is_well_known function - #895

Open
Techassi wants to merge 2 commits into
hyperium:masterfrom
Techassi:feat/add-is-well-known
Open

Techassi wants to merge 2 commits into
hyperium:masterfrom
Techassi:feat/add-is-well-known

Conversation

@Techassi

@Techassi Techassi commented Dec 2, 2026 •

Copy link
Copy Markdown

Recently, I had the need to differentiate between all "well-known" and other, extension methods (in the context of turning the method into its string representation).

The new associated function returns whether the HTTP method is considered "well-known", meaning the method is either defined in RFC 7230 or is PATCH. All other extensions are considered not "well-known".

The associated function returns whether the HTTP method is
considered "well-known", meaning the method is either defined in
RFC 7230 or is PATCH. All other extensions are considered not
"well-known".

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants