mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
std.http: add missing InvalidTrailers to ReadError
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user