commit cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989 (tree)
parent 99a5de9dbb0a3a30f09056558f715f7607b1a20a
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 16 Feb 2024 01:03:58 -0700
std.http.Client.Response.ParseError: remove OutOfMemory
This can no longer fail due to OOM.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/http/Client.zig b/lib/std/http/Client.zig
@@ -419,7 +419,7 @@ pub const Compression = union(enum) {
/// A HTTP response originating from a server.
pub const Response = struct {
- pub const ParseError = Allocator.Error || error{
+ pub const ParseError = error{
HttpHeadersInvalid,
HttpHeaderContinuationsUnsupported,
HttpTransferEncodingUnsupported,