From 91ab1f4a97cd8c94531216a53ed06af210d0ff4f Mon Sep 17 00:00:00 2001
From: Dorian Niemiec
Date: Mon, 11 Sep 2023 10:36:10 +0200
Subject: [PATCH] Minor changes to status codes
---
svr.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/svr.js b/svr.js
index 7929ad2..4ff4619 100644
--- a/svr.js
+++ b/svr.js
@@ -2291,7 +2291,6 @@ if (!cluster.isPrimary) {
408: "You have timed out.",
414: "URL you sent is too long.",
431: "The request you sent contains headers, that are too large.",
- 451: "The requested file isn't accessible for legal reasons.",
497: "You sent non-TLS request to the HTTPS server."
};
@@ -2990,6 +2989,7 @@ if (!cluster.isPrimary) {
429: "You sent too much requests to the server.",
431: "The request you sent contains headers, that are too large.",
451: "The requested file isn't accessible for legal reasons.",
+ 497: "You sent non-TLS request to the HTTPS server.",
500: "The server had an unexpected error. Below, the error stack is shown:
{stack}
Please contact with developer/administrator at {contact}.",
501: "The request requires use of a function, which isn't currently implemented by the server.",
502: "The server had an error, while it was acting as a gateway.
Please contact with developer/administrator at {contact}.",