Skip to content

Commit e313223

Browse files
committed
Add 421 Misdirected Request
1 parent d14937f commit e313223

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/io/github/malczuuu/problem4j/core/ProblemStatus.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ public enum ProblemStatus {
456456
*/
457457
I_AM_A_TEAPOT(418, "I'm a teapot"),
458458

459+
/**
460+
* 421 Misdirected Request.
461+
*
462+
* @link <a href="https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2">RFC 7540 §9.1.2</a>
463+
*/
464+
MISDIRECTED_REQUEST(421, "Misdirected Request"),
465+
459466
/**
460467
* 422 Unprocessable Entity.
461468
*

0 commit comments

Comments
 (0)