mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-28 16:07:06 +00:00
@@ -249,7 +249,6 @@ impl WebServer {
|
|||||||
);
|
);
|
||||||
|
|
||||||
*error_doc.status_mut() = error.http_status_code();
|
*error_doc.status_mut() = error.http_status_code();
|
||||||
error.add_headers(error_doc.headers_mut());
|
|
||||||
|
|
||||||
// Preserve error message in a special header
|
// Preserve error message in a special header
|
||||||
for error_line in error.to_string().split('\n') {
|
for error_line in error.to_string().split('\n') {
|
||||||
|
|||||||
Reference in New Issue
Block a user