Skip to content

Commit 75298bd

Browse files
cemoktraBastian Schubert
andauthored
feat: add StatusCode::TOO_EARLY 425 (#725)
Co-authored-by: Bastian Schubert <[email protected]>
1 parent 7faad85 commit 75298bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/status.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ status_codes! {
463463
/// [[RFC4918, Section 11.4](https://tools.ietf.org/html/rfc4918#section-11.4)]
464464
(424, FAILED_DEPENDENCY, "Failed Dependency");
465465

466+
/// 425 Too early
467+
/// [[RFC8470, Section 5.2](https://httpwg.org/specs/rfc8470.html#status)]
468+
(425, TOO_EARLY, "Too Early");
469+
466470
/// 426 Upgrade Required
467471
/// [[RFC9110, Section 15.5.22](https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.22)]
468472
(426, UPGRADE_REQUIRED, "Upgrade Required");

0 commit comments

Comments
 (0)