diff --git a/lib/std/http/Server.zig b/lib/std/http/Server.zig index ab46fdcc4c..e139ea5979 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`.