Skip to content

Commit

Permalink
Add StatusTooEarly, compatible with: https://developer.mozilla.org/…
Browse files Browse the repository at this point in the history
…en-US/docs/Web/HTTP/Status/425#Browser_compatibility

Former-commit-id: 51163eb71e793d5c8b8ae42d67b15ef2a431a386
  • Loading branch information
kataras committed Dec 8, 2018
1 parent 53c010e commit e0f67d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iris.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0f67d8

Please sign in to comment.