diff options
-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; }, |