From e0f67d8d2cadfc3f38abf801a4287ae218e8211e Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 8 Dec 2018 21:12:47 +0200 Subject: [PATCH] Add `StatusTooEarly`, compatible with: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425#Browser_compatibility Former-commit-id: 51163eb71e793d5c8b8ae42d67b15ef2a431a386 --- iris.go | 1 + 1 file changed, 1 insertion(+) diff --git a/iris.go b/iris.go index 0459d360..8423e5f7 100644 --- a/iris.go +++ b/iris.go @@ -90,6 +90,7 @@ const ( StatusUnprocessableEntity = 422 // RFC 4918, 11.2 StatusLocked = 423 // RFC 4918, 11.3 StatusFailedDependency = 424 // RFC 4918, 11.4 + StatusTooEarly = 425 // RFC 8470, 5.2. StatusUpgradeRequired = 426 // RFC 7231, 6.5.15 StatusPreconditionRequired = 428 // RFC 6585, 3 StatusTooManyRequests = 429 // RFC 6585, 4