diff options
author | 2022-03-02 17:49:55 -0800 | |
---|---|---|
committer | 2022-03-02 17:49:55 -0800 | |
commit | a9d99dc0e5c03839b714b66360520d49d2716c39 (patch) | |
tree | fe09619d8f1af8e8c74028f59360fa2d919550aa /src | |
parent | d1922d474292f63ba2f6c0cf49a80fa1bc2fd623 (diff) | |
download | bun-a9d99dc0e5c03839b714b66360520d49d2716c39.tar.gz bun-a9d99dc0e5c03839b714b66360520d49d2716c39.tar.zst bun-a9d99dc0e5c03839b714b66360520d49d2716c39.zip |
`DELETE` header
Diffstat (limited to 'src')
-rw-r--r-- | src/http/method.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/method.zig b/src/http/method.zig index 91074d1b3..0b85cf761 100644 --- a/src/http/method.zig +++ b/src/http/method.zig @@ -19,6 +19,7 @@ pub const Method = enum { OPTIONS, CONNECT, TRACE, + DELETE, const with_body: std.enums.EnumSet(Method) = brk: { var values = std.enums.EnumSet(Method).initFull(); @@ -62,6 +63,9 @@ pub const Method = enum { Match.case("TR"), Match.case("tr") => { return .TRACE; }, + Match.case("DE"), Match.case("de") => { + return .DELETE; + }, else => { return null; }, |