Skip to content

Commit 0a90b7d

Browse files
author
Pi-Cla
committed
1 parent ec95511 commit 0a90b7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: src/status.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ status_codes! {
335335
/// [[RFC2518](https://tools.ietf.org/html/rfc2518)]
336336
(102, PROCESSING, "Processing");
337337

338+
/// 103 Early Hints
339+
/// [[RFC8297, Section 2](https://datatracker.ietf.org/doc/html/rfc8297#section-2)]
340+
(103, EARLY_HINTS, "Early Hints");
341+
338342
/// 200 OK
339343
/// [[RFC7231, Section 6.3.1](https://tools.ietf.org/html/rfc7231#section-6.3.1)]
340344
(200, OK, "OK");
@@ -462,7 +466,9 @@ status_codes! {
462466
/// 424 Failed Dependency
463467
/// [[RFC4918](https://tools.ietf.org/html/rfc4918)]
464468
(424, FAILED_DEPENDENCY, "Failed Dependency");
465-
469+
/// 425 Too Early
470+
/// [[RFC8470, Section 5.2](https://datatracker.ietf.org/doc/html/rfc8470#section-5.2)]
471+
(425, TOO_EARLY, "Too Early");
466472
/// 426 Upgrade Required
467473
/// [[RFC7231, Section 6.5.15](https://tools.ietf.org/html/rfc7231#section-6.5.15)]
468474
(426, UPGRADE_REQUIRED, "Upgrade Required");

0 commit comments

Comments
 (0)