Skip to content

Commit 3247afe

Browse files
authored
feat: 425 Too Early (#46)
1 parent 610b133 commit 3247afe

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

Diff for: lib/index.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ declare namespace httpStatus {
277277
readonly '424_CLASS': string;
278278
readonly FAILED_DEPENDENCY: 424;
279279

280+
readonly 425: string;
281+
readonly '425_NAME': string;
282+
readonly '425_MESSAGE': string;
283+
readonly '425_CLASS': string;
284+
readonly TOO_EARLY: 425;
285+
280286
readonly 426: string;
281287
readonly '426_NAME': string;
282288
readonly '426_MESSAGE': string;

Diff for: lib/index.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/index.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ declare namespace httpStatus {
277277
readonly '424_CLASS': string;
278278
readonly FAILED_DEPENDENCY: 424;
279279

280+
readonly 425: string;
281+
readonly '425_NAME': string;
282+
readonly '425_MESSAGE': string;
283+
readonly '425_CLASS': string;
284+
readonly TOO_EARLY: 425;
285+
280286
readonly 426: string;
281287
readonly '426_NAME': string;
282288
readonly '426_MESSAGE': string;

Diff for: src/index.litcoffee

+8
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,14 @@ Indicates that the client seems to have erred.
434434
'424_CLASS': classes.CLIENT_ERROR
435435
FAILED_DEPENDENCY: 424
436436
437+
425 (RFC 8470) - The server is unwilling to risk processing a request that might be replayed.
438+
439+
425: 'Too Early'
440+
'425_NAME': 'TOO_EARLY'
441+
'425_MESSAGE': 'The server is unwilling to risk processing a request that might be replayed.'
442+
'425_CLASS': classes.CLIENT_ERROR
443+
FAILED_DEPENDENCY: 425
444+
437445
426 - The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.
438446

439447
426: 'Upgrade Required'

0 commit comments

Comments
 (0)