mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-13 11:41:07 +00:00
Merge pull request 'Fix duplicated content-type in error document' (#493) from baptiste/garage:fix_error_document_content_type into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/493
This commit is contained in:
commit
f9573b6912
1 changed files with 0 additions and 1 deletions
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue