diff --git a/src/handshake/server.rs b/src/handshake/server.rs index 5f86c91..2f095ce 100644 --- a/src/handshake/server.rs +++ b/src/handshake/server.rs @@ -103,7 +103,7 @@ fn write_response(mut w: impl io::Write, response: &HttpResponse) -> Resul )?; for (k, v) in response.headers() { - writeln!(w, "{}: {}\r", k, v.to_str()?).unwrap(); + writeln!(w, "{}: {}\r", k, v.to_str()?)?; } writeln!(w, "\r")?;