Skip to content

feat(http-message-sig): support the @query-param component - #211

Open
konippi wants to merge 1 commit into
cloudflare:mainfrom
konippi:feat/query-param
Open

konippi wants to merge 1 commit into
cloudflare:mainfrom
konippi:feat/query-param

Conversation

@konippi

@konippi konippi commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #210.

http-message-sig now derives @query-param as Section 2.2.8 of RFC 9421 describes instead of rejecting it with UnsupportedFeature. The query is parsed and re-encoded with URLSearchParams. A missing or repeated parameter is an error, and name is required on @query-param and rejected elsewhere.

The exported ComponentParameters type now types req, key and name, as SignatureParameters does for created or keyid. Runtime behavior is unchanged, but a wrong type such as { key: 1 } is now a compile error too.

@clanky-the-clanker

Copy link
Copy Markdown
Contributor

This pull request was not reviewed automatically because its author does not have write access to this repository. A maintainer with write access can start a review by commenting clanky review (or clanker review or @clanky-the-clanker review), optionally followed by instructions (e.g. clanky review focus on the retry logic).

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.

[feature]: support @query-param in http-message-sig

1 participant