Skip to content

Commit

Permalink
Added TooEarly StatusCode (425) to StatusCodes trait
Browse files Browse the repository at this point in the history
  • Loading branch information
domdorn authored and adamw committed Jul 12, 2023
1 parent b24e3dc commit ebe0186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/sttp/model/StatusCode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ trait StatusCodes {
val UnprocessableEntity: StatusCode = StatusCode(422)
val Locked: StatusCode = StatusCode(423)
val FailedDependency: StatusCode = StatusCode(424)
def TooEarly: StatusCode = StatusCode(425) // def because val would break binary compatibility
val UpgradeRequired: StatusCode = StatusCode(426)
val PreconditionRequired: StatusCode = StatusCode(428)
val TooManyRequests: StatusCode = StatusCode(429)
Expand Down

0 comments on commit ebe0186

Please sign in to comment.