We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613904e commit 4a6bf38Copy full SHA for 4a6bf38
src/http/client.zig
@@ -1439,7 +1439,7 @@ pub const ResponseHeader = struct {
1439
1440
// Stored header has already been lower-cased
1441
// `name` parameter should be passed in lower-cased
1442
- pub fn get(self: *const ResponseHeader, name: []const u8) ?[]const u8 {
+ pub fn get(self: *const ResponseHeader, name: []const u8) ?[]u8 {
1443
for (self.headers.items) |h| {
1444
if (std.mem.eql(u8, name, h.name)) {
1445
return h.value;
0 commit comments