summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index f3ba157..b422f47 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -114,6 +114,7 @@ async fn response(handlers: Table, stream: TcpStream) -> Result<(), ResponseErro
Response::builder()
.status(Status::InternalServerError)
+ .headers([("content-length", "0")])
.body(response::Body::Empty)
}
};