Skip to content

Commit f956cce

Browse files
committed
Add 413 Payload Too Large
1 parent a2717d4 commit f956cce

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,22 @@ public enum ProblemStatus {
373373
*
374374
* @link <a href="https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.14">RFC 2616
375375
* §10.4.14</a>
376-
* @deprecated Renamed to {@link #CONTENT_TOO_LARGE} in RFC 9110.
376+
* @deprecated Renamed to {@link #PAYLOAD_TOO_LARGE} in RFC 7231, then to {@link
377+
* #CONTENT_TOO_LARGE} in RFC 9110.
377378
*/
378379
@Deprecated
379380
REQUEST_ENTITY_TOO_LARGE(413, "Request Entity Too Large"),
380381

382+
/**
383+
* 413 Payload Too Large.
384+
*
385+
* @link <a href="https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.11">RFC 7231
386+
* §6.5.11</a>
387+
* @deprecated Renamed to {@link #CONTENT_TOO_LARGE} in RFC 9110.
388+
*/
389+
@Deprecated
390+
PAYLOAD_TOO_LARGE(413, "Payload Too Large"),
391+
381392
/**
382393
* 413 Content Too Large.
383394
*

0 commit comments

Comments
 (0)