std.http.Client.Response.ParseError: remove OutOfMemory
This can no longer fail due to OOM.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user