diff options
| author | Ryo Ota <nwtgck@nwtgck.org> | 2023-04-19 19:15:26 +0900 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-04-20 12:35:26 +0300 |
| commit | d80e6ca5a6843cb3911ec2d0b2da8b4ae515202a (patch) | |
| tree | 20774f23064570840310a27f757ae5d415c0c05a /lib/std/http/Server.zig | |
| parent | e102adc8635a158cb2add8e25e94130e356e7f64 (diff) | |
| download | zig-d80e6ca5a6843cb3911ec2d0b2da8b4ae515202a.tar.gz zig-d80e6ca5a6843cb3911ec2d0b2da8b4ae515202a.zip | |
std.http: add missing InvalidTrailers to ReadError
Diffstat (limited to 'lib/std/http/Server.zig')
| -rw-r--r-- | lib/std/http/Server.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/http/Server.zig b/lib/std/http/Server.zig index 94efb94d79..445a10bf48 100644 --- a/lib/std/http/Server.zig +++ b/lib/std/http/Server.zig @@ -501,7 +501,7 @@ pub const Response = struct { } } - pub const ReadError = TransferReadError || proto.HeadersParser.CheckCompleteHeadError || error{DecompressionFailure}; + pub const ReadError = TransferReadError || proto.HeadersParser.CheckCompleteHeadError || error{ DecompressionFailure, InvalidTrailers }; pub const Reader = std.io.Reader(*Response, ReadError, read); |
