| author | |
| committer | |
| log | b8565dd62fe001337429aa022a63d16930d552c3 |
| tree | f4b0b50339ed0248add394eec302eda2aa631868 |
| parent | d168579b6f500b2c5037a5c8ccc1afc0485f0696 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/http/Server.zig+1-1| ... | ... | @@ -441,7 +441,7 @@ pub const Response = struct { |
| 441 | 441 | |
| 442 | 442 | res.transfer_encoding = .{ .content_length = content_length }; |
| 443 | 443 | } else if (has_transfer_encoding) { |
| 444 | const transfer_encoding = res.headers.getFirstValue("content-length").?; | |
| 444 | const transfer_encoding = res.headers.getFirstValue("transfer-encoding").?; | |
| 445 | 445 | if (std.mem.eql(u8, transfer_encoding, "chunked")) { |
| 446 | 446 | res.transfer_encoding = .chunked; |
| 447 | 447 | } else { |