change response object header type to be immutable
This commit is contained in:
parent
6dcc416167
commit
48c0e893da
|
@ -57,7 +57,7 @@ pub const ZigResponse = struct {
|
|||
status: std.http.Status = .ok,
|
||||
reason: ?[]const u8 = null,
|
||||
body: *std.ArrayList(u8),
|
||||
headers: []std.http.Header,
|
||||
headers: []const std.http.Header,
|
||||
request: ZigRequest,
|
||||
prepend: std.ArrayList(u8),
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user