jrudolph commented on code in PR #87:
URL:
https://github.com/apache/incubator-pekko-http/pull/87#discussion_r1291063589
##########
http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/StatusCode.scala:
##########
@@ -165,6 +167,8 @@ object StatusCodes extends ObjectRegistry[Int, StatusCode] {
val ImATeapot = reg(c(418)("I'm a teapot", "The resulting
entity body MAY be short and stout."))
val EnhanceYourCalm = reg(c(420)("Enhance Your Calm", "You are
being rate-limited.")) // Twitter only
val MisdirectedRequest = reg(c(421)("Misdirected Request", "The
request was directed at a server that is not able to produce a response.")) //
HTTP/2 only. https://tools.ietf.org/html/rfc7540#section-9.1.2
+ val UnprocessableContent = reg(c(422)("Unprocessable Content", "The
request was well-formed but was unable to be followed due to semantic errors."))
+ @deprecated("deprecated in favor of UnprocessableContent", "1.0.0")
val UnprocessableEntity = reg(c(422)("Unprocessable Entity", "The
request was well-formed but was unable to be followed due to semantic errors."))
Review Comment:
Same here:
```suggestion
val UnprocessableEntity = UnprocessableContent
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]