From c60c40f627983b35cc4ba762f510d729c80b47c3 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 15 May 2024 13:47:33 -0700 Subject: [PATCH] we are not mutating headers, so do not ask for mutable headers --- src/aws_signing.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws_signing.zig b/src/aws_signing.zig index 96b25ad..966fc88 100644 --- a/src/aws_signing.zig +++ b/src/aws_signing.zig @@ -306,7 +306,7 @@ pub fn verifyServerRequest(allocator: std.mem.Allocator, request: *std.http.Serv } pub const UnverifiedRequest = struct { - headers: []std.http.Header, + headers: []const std.http.Header, target: []const u8, method: std.http.Method, allocator: std.mem.Allocator,