mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.http.Server: fix error set
It incorrectly had NotWriteable and MessageTooLong in it.
This commit is contained in:
parent
f58c59f89f
commit
f1cf300c8f
@ -712,7 +712,7 @@ pub const Response = struct {
|
||||
}
|
||||
}
|
||||
|
||||
pub const FinishError = WriteError || error{MessageNotCompleted};
|
||||
pub const FinishError = Connection.WriteError || error{MessageNotCompleted};
|
||||
|
||||
/// Finish the body of a request. This notifies the server that you have no more data to send.
|
||||
/// Must be called after `send`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user