diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-11-02 09:05:43 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-11-02 09:05:43 +0100 |
| commit | ecb79fc433765688cf60ac4ee8ebe38e782641cd (patch) | |
| tree | 68c954fdc41bdf0b4b8e858c4252fd3b959fb85a /src/http/handler | |
| parent | 4363d446c1f40515f7830caa644cc4e580841122 (diff) | |
update to zig 0.17dev
Diffstat (limited to 'src/http/handler')
| -rw-r--r-- | src/http/handler/context.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/handler/context.zig b/src/http/handler/context.zig index 4e55446..890fa52 100644 --- a/src/http/handler/context.zig +++ b/src/http/handler/context.zig @@ -40,6 +40,7 @@ pub fn Context(comptime r: anytype) type { options: *const fn (Request) Response = badRequest, trace: *const fn (Request) Response = badRequest, patch: *const fn (Request) Response = badRequest, + query: *const fn (Request) Response = badRequest, pub fn handle( self: *const @This(), @@ -66,6 +67,7 @@ pub fn Context(comptime r: anytype) type { .OPTIONS => self.options, .TRACE => self.trace, .PATCH => self.patch, + .QUERY => self.query, })(req); } |