From f37a565ca100b13f3add77726472db039065d132 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sat, 12 Aug 2023 12:07:33 +0200 Subject: [PATCH] Changed descriptions of 501 and 503 errors. --- svr.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/svr.js b/svr.js index 8aba699..a69b934 100644 --- a/svr.js +++ b/svr.js @@ -3166,9 +3166,9 @@ if (!cluster.isPrimary) { 431: "The request you sent contains headers, that are too large.", 451: "The requested file isn't accessible for legal reasons.", 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 implemented (yet) by the server.", + 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}.", - 503: "Service provided by the server isn't available (yet).

Please contact with developer/administrator at {contact}.", + 503: "The service provided by the server is currently unavailable, possibly due of maintenance downtime or capacity problems. Please try again later.

Please contact with developer/administrator at {contact}.", 504: "The server couldn't get response in time, while it was acting as a gateway.

Please contact with developer/administrator at {contact}.", 505: "The server doesn't support HTTP version used in the request.", 506: "Variant header is configured to be engaged in content negotiation.

Please contact with developer/administrator at {contact}.", @@ -3181,7 +3181,6 @@ if (!cluster.isPrimary) { 599: "The server couldn't connect in time, while it was acting as a proxy." }; - //Server error calling method // Server error calling method function callServerError(errorCode, extName, stack, ch) { if (typeof errorCode !== "number") {