From ecb79fc433765688cf60ac4ee8ebe38e782641cd Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 2 Nov 2026 09:05:43 +0100 Subject: update to zig 0.17 --- src/http/handler/context.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/handler/context.zig') 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); } -- cgit v1.2.3-70-g09d2