forked from MarseyWorld/MarseyWorld
add 417 and fix 414
parent
ec610e99c5
commit
e364ce8043
|
@ -15,6 +15,7 @@ WERKZEUG_ERROR_DESCRIPTIONS = {
|
||||||
413: "The data value transmitted exceeds the capacity limit.",
|
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.",
|
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",
|
418: "This server is a teapot, not a coffee machine",
|
||||||
429: "This user has exceeded an allotted request count. Try again later.",
|
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.",
|
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.",
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<h1 class="h5">{{code}} {{title}}</h1>
|
<h1 class="h5">{{code}} {{title}}</h1>
|
||||||
<p class="text-muted mb-5">{{msg|safe}}</p>
|
<p class="text-muted error-description">{{msg|safe}}</p>
|
||||||
{% if details -%}
|
{% if details -%}
|
||||||
<blockquote class="error-details">{{details|safe}}</blockquote>
|
<blockquote class="error-details mb-5">{{details|safe}}</blockquote>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
<div><a href="/" class="btn btn-primary">Go to frontpage</a></div>
|
<div><a href="/" class="btn btn-primary">Go to frontpage</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue