Skip to content

Commit d14937f

Browse files
committed
Add 416 Range Not Satisfiable
1 parent f956cce commit d14937f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,19 @@ public enum ProblemStatus {
428428
*
429429
* @link <a href="https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.17">RFC 2616
430430
* §10.5.17</a>
431+
* @deprecated renamed to {@link #RANGE_NOT_SATISFIABLE} by RFC 9110.
431432
*/
433+
@Deprecated
432434
REQUESTED_RANGE_NOT_SATISFIABLE(416, "Requested Range Not Satisfiable"),
433435

436+
/**
437+
* 416 Range Not Satisfiable.
438+
*
439+
* @link <a href="https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.17">RFC 9110
440+
* §15.5.17</a>
441+
*/
442+
RANGE_NOT_SATISFIABLE(416, "Range Not Satisfiable"),
443+
434444
/**
435445
* 417 Expectation Failed.
436446
*

0 commit comments

Comments
 (0)