| ... | ... | @@ -478,10 +478,6 @@ pub const Response = struct { |
| 478 | 478 | if (res.status == .@"continue") { |
| 479 | 479 | res.state = .waited; // we still need to send another request after this |
| 480 | 480 | } else { |
| 481 | | if (!res.headers.contains("server")) { |
| 482 | | try w.writeAll("Server: zig (std.http)\r\n"); |
| 483 | | } |
| 484 | | |
| 485 | 481 | if (!res.headers.contains("connection")) { |
| 486 | 482 | const req_connection = res.request.headers.getFirstValue("connection"); |
| 487 | 483 | const req_keepalive = req_connection != null and !std.ascii.eqlIgnoreCase("close", req_connection.?); |