diff --git a/lib/std/http/Server.zig b/lib/std/http/Server.zig index ab46fdcc4c818f943f8d87ebb7e9c05b899237d0..e139ea597957e0eec23b48cbb8da447cac124463 100644 --- a/lib/std/http/Server.zig +++ b/lib/std/http/Server.zig @@ -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`.