std.http: add missing InvalidTrailers to ReadError

This commit is contained in:
Ryo Ota authored and Veikka Tuominen committed 2023-04-20 12:35:26 +03:00
1 parent e102adc863
commit d80e6ca5a6
1 file changed
+1 -1
+1 -1
View File
@@ -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);