Skip to content

api: expose the QUERY method to plugins - #13822

Draft
JakeChampion wants to merge 1 commit into
jake/query-methodfrom
jake/query-plugin-api
Draft

JakeChampion wants to merge 1 commit into
jake/query-methodfrom
jake/query-plugin-api

Conversation

@JakeChampion

@JakeChampion JakeChampion commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #13820, which made QUERY (draft-ietf-httpbis-safe-method-w-body) a well-known method in core. This PR exposes it through the plugin APIs, so plugins can detect and compare QUERY the same way they already do GET, POST, PUSH and the other well-known methods.

Stacked on #13820

@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 4c637b2 to a4c8718 Compare October 9, 2026 16:05
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from a4c8718 to 7eed5d7 Compare October 12, 2026 08:38
@JakeChampion
JakeChampion force-pushed the jake/query-method branch 2 times, most recently from c814035 to 2247bee Compare October 12, 2026 13:32
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 7eed5d7 to c7f0466 Compare October 12, 2026 13:36
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from c7f0466 to 4d0e58a Compare October 12, 2026 14:00
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 4d0e58a to 1400fe7 Compare October 12, 2026 14:24
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 1400fe7 to fd93f10 Compare October 12, 2026 15:25
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from fd93f10 to aeb88c7 Compare October 12, 2026 15:56
@bryancall bryancall added this to the 11.0.0 milestone Oct 12, 2026
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from aeb88c7 to 711cf32 Compare October 13, 2026 12:49
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 711cf32 to 1e1caaa Compare October 13, 2026 13:13
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 1e1caaa to 0fc6eab Compare October 13, 2026 13:36
@JakeChampion
JakeChampion force-pushed the jake/query-plugin-api branch from 0fc6eab to 696a963 Compare October 13, 2026 14:01
Add TS_HTTP_METHOD_QUERY and TS_HTTP_LEN_QUERY to the C API, QUERY to
the cripts method constants, and QUERY to the C++ API's HttpMethod
enum, so plugins can compare against the pre-allocated method name the
way they do for the other well-known methods.

The HttpMethod enumerator is appended rather than inserted next to
PURGE so the existing enumerator values do not shift.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants