| ... | ... | @@ -252,7 +252,7 @@ pub const ClientRequest = struct { |
| 252 | 252 | |
| 253 | 253 | // HTTP/1.1 200 OK |
| 254 | 254 | if (!std.mem.eql(u8, &try req.readArray(9), "HTTP/1.1 ")) return error.Bad; |
| 255 | | const status_int = std.fmt.parseInt(u16, &try req.readArray(3), 10) catch return error.Bad; |
| 255 | const status_int = extras.parseDigits(u16, &try req.readArray(3), 10) catch return error.Bad; |
| 256 | 256 | const status = std.meta.intToEnum(Status, status_int) catch return error.Bad; |
| 257 | 257 | if (!std.mem.eql(u8, &try req.readArray(1), " ")) return error.Bad; |
| 258 | 258 | var phrase_buf: [64]u8 = undefined; |