aboutsummaryrefslogtreecommitdiff
path: root/lib/std/http/Client.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-02-16 01:03:58 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-02-23 02:37:11 -0700
commitcf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989 (patch)
tree8a56a5f92bfe3846b2210452bb4a6025d39c6533 /lib/std/http/Client.zig
parent99a5de9dbb0a3a30f09056558f715f7607b1a20a (diff)
downloadzig-cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989.tar.gz
zig-cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989.zip
std.http.Client.Response.ParseError: remove OutOfMemory
This can no longer fail due to OOM.
Diffstat (limited to 'lib/std/http/Client.zig')
-rw-r--r--lib/std/http/Client.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/http/Client.zig b/lib/std/http/Client.zig
index a8e2b5e98b..3eae537d29 100644
--- 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,