This is an automated email from the ASF dual-hosted git repository.

archanarai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/olingo-odata2.git


The following commit(s) were added to refs/heads/master by this push:
     new 846e4fd  Status Code 422 support
846e4fd is described below

commit 846e4fd20c108c8f73afdfef0074e3c9ddfa422c
Author: Archana Rai <[email protected]>
AuthorDate: Tue Apr 14 21:05:31 2020 +0530

    Status Code 422 support
---
 .../main/java/org/apache/olingo/odata2/api/commons/HttpStatusCodes.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/commons/HttpStatusCodes.java
 
b/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/commons/HttpStatusCodes.java
index 4371a53..22a6434 100644
--- 
a/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/commons/HttpStatusCodes.java
+++ 
b/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/commons/HttpStatusCodes.java
@@ -39,7 +39,7 @@ public enum HttpStatusCodes {
   PRECONDITION_FAILED(412, "Precondition Failed"), 
REQUEST_ENTITY_TOO_LARGE(413, "Request Entity Too Large"),
   REQUEST_URI_TOO_LONG(414, "Request-URI Too Long"), 
UNSUPPORTED_MEDIA_TYPE(415, "Unsupported Media Type"),
   REQUESTED_RANGE_NOT_SATISFIABLE(416, "Requested Range Not Satisfiable"),
-  EXPECTATION_FAILED(417, "Expectation Failed"), PRECONDITION_REQUIRED(428, 
"Precondition Required"),
+  EXPECTATION_FAILED(417, "Expectation Failed"),  UNPROCESSABLE_ENTITY(422, 
"Unprocessable Entity"), PRECONDITION_REQUIRED(428, "Precondition Required"),
   METHOD_FAILED(420, "Method Failed"),
 
   INTERNAL_SERVER_ERROR(500, "Internal Server Error"), NOT_IMPLEMENTED(501, 
"Not Implemented"), BAD_GATEWAY(502,

Reply via email to