diff --git a/files/routes/errors.py b/files/routes/errors.py index 0cb13116f..f14e841fc 100644 --- a/files/routes/errors.py +++ b/files/routes/errors.py @@ -13,8 +13,9 @@ WERKZEUG_ERROR_DESCRIPTIONS = { 405: "The method is not allowed for the requested URL.", 406: "The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.", 413: "The data value transmitted exceeds the capacity limit.", - 414: "The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.", + 414: "The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.", 415: "The server does not support the media type transmitted in the request.", + 417: "The server could not meet the requirements of the Expect header", 418: "This server is a teapot, not a coffee machine", 429: "This user has exceeded an allotted request count. Try again later.", 500: "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.", diff --git a/files/templates/errors/error.html b/files/templates/errors/error.html index a813bafc0..c29d284b9 100644 --- a/files/templates/errors/error.html +++ b/files/templates/errors/error.html @@ -15,9 +15,9 @@ {%- endif %}
{{msg|safe}}
+{{msg|safe}}
{% if details -%} -{{details|safe}}+
{{details|safe}}{%- endif %}