Skip to content

fix(types): add QUERY http method - #4588

Merged
Marsup merged 1 commit into
hapijs:masterfrom
SimonSchick:chore/query-support
Sep 16, 2026
Merged

Marsup merged 1 commit into
hapijs:masterfrom
SimonSchick:chore/query-support

Conversation

@SimonSchick

Copy link
Copy Markdown
Contributor

Idk if this requires a test since this seems like a very very basic addition.

https://www.rfc-editor.org/info/rfc10008/

@lbesecker195 lbesecker195 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.

Verified: require('http').METHODS includes QUERY on Node 24, and this type is documented as mirroring Node's supported method list. LGTM.

@Marsup Marsup added this to the 21.4.11 milestone Sep 16, 2026
@Marsup Marsup added the types TypeScript type definitions label Sep 16, 2026
@Marsup Marsup self-assigned this Sep 16, 2026
@Marsup
Marsup merged commit b90c41b into hapijs:master Sep 16, 2026
10 checks passed
@Marsup

Marsup commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Thanks.

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

Labels

types TypeScript type definitions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants