Fix duplicated content-type in error document #493

Merged
lx merged 1 commit from baptiste/garage:fix_error_document_content_type into main 2023-01-30 10:56:36 +00:00

View file

@ -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') {