mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
Incomplete method set, Decided to just throw an unsupported error
This commit is contained in:
parent
885037646e
commit
7e529e2c55
@ -35,6 +35,7 @@ pub fn init(
|
||||
.CONNECT => Method.CONNECT,
|
||||
.OPTIONS => Method.OPTIONS,
|
||||
.TRACE => Method.TRACE,
|
||||
_ => return error.jetzig_unsupported_http_method,
|
||||
};
|
||||
|
||||
var it = std.mem.splitScalar(u8, response.request.target, '/');
|
||||
|
Loading…
x
Reference in New Issue
Block a user