Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/llhttp/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ export const METHODS_BASIC_HTTP = {
*/
PATCH: 28,

/**
* @see https://www.rfc-editor.org/rfc/rfc10008.html
*/
QUERY: 46,

/* RFC-2068, section 19.6.1.2 */
LINK: 31,
UNLINK: 32,
Expand Down Expand Up @@ -268,9 +273,6 @@ export const METHODS_NON_STANDARD = {
* Not defined in any RFC but commonly used
*/
PURGE: 29,

/* DRAFT https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-02.html */
QUERY: 46,
} as const;

export const METHODS_ICECAST = {
Expand Down