authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-02-16 01:03:58-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-02-23 02:37:11-07:00
logcf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989
tree8a56a5f92bfe3846b2210452bb4a6025d39c6533
parent99a5de9dbb0a3a30f09056558f715f7607b1a20a

std.http.Client.Response.ParseError: remove OutOfMemory

This can no longer fail due to OOM.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/http/Client.zig+1-1
......@@ -419,7 +419,7 @@ pub const Compression = union(enum) {
419419
420420/// A HTTP response originating from a server.
421421pub const Response = struct {
422 pub const ParseError = Allocator.Error || error{
422 pub const ParseError = error{
423423 HttpHeadersInvalid,
424424 HttpHeaderContinuationsUnsupported,
425425 HttpTransferEncodingUnsupported,