mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.http.Client.Response.ParseError: remove OutOfMemory
This can no longer fail due to OOM.
This commit is contained in:
parent
99a5de9dbb
commit
cf4a2c4d18
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user