From 344f9faee127b2e647f1edf69468a09a60923f4b Mon Sep 17 00:00:00 2001 From: Sam <32103189+schantaraud@users.noreply.github.com> Date: Tue, 17 Oct 2023 03:00:26 -0400 Subject: [PATCH] Fixed copy/paste typo from #46 (#47) --- lib/index.js | 2 +- src/index.litcoffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 9d132ce..31f515b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -338,7 +338,7 @@ module.exports = { '425_NAME': 'TOO_EARLY', '425_MESSAGE': 'The server is unwilling to risk processing a request that might be replayed.', '425_CLASS': classes.CLIENT_ERROR, - FAILED_DEPENDENCY: 425, + TOO_EARLY: 425, // 426 - The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field. 426: 'Upgrade Required', '426_NAME': 'UPGRADE_REQUIRED', diff --git a/src/index.litcoffee b/src/index.litcoffee index 9e7ac24..07a67ac 100644 --- a/src/index.litcoffee +++ b/src/index.litcoffee @@ -440,7 +440,7 @@ Indicates that the client seems to have erred. '425_NAME': 'TOO_EARLY' '425_MESSAGE': 'The server is unwilling to risk processing a request that might be replayed.' '425_CLASS': classes.CLIENT_ERROR - FAILED_DEPENDENCY: 425 + TOO_EARLY: 425 426 - The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.