aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/web/web_server.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/web/web_server.rs b/src/web/web_server.rs
index 1541c297..5719da54 100644
--- a/src/web/web_server.rs
+++ b/src/web/web_server.rs
@@ -249,7 +249,6 @@ impl WebServer {
);
*error_doc.status_mut() = error.http_status_code();
- error.add_headers(error_doc.headers_mut());
// Preserve error message in a special header
for error_line in error.to_string().split('\n') {