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

ramyav 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 fcb643f  [OLINGO-1362]OData V2: Missed http status code
fcb643f is described below

commit fcb643fdfdf3d05e001b5905d1f040371e588523
Author: ramya vasanth <[email protected]>
AuthorDate: Fri Jul 17 10:07:35 2020 +0530

    [OLINGO-1362]OData V2: Missed http status code
---
 .../org/apache/olingo/odata2/api/commons/HttpStatusCodes.java     | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

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 5129e2e..937dd8d 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,9 +39,13 @@ 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"),  UNPROCESSABLE_ENTITY(422, 
"Unprocessable Entity"), 
-  PRECONDITION_REQUIRED(428, "Precondition Required"),
+  EXPECTATION_FAILED(417, "Expectation Failed"),  MISDIRECTED_REQUEST(421, 
"Misdirected Request"),
+  UNPROCESSABLE_ENTITY(422, "Unprocessable Entity"), LOCKED(423, "Locked"),
+  FAILED_DEPENDENCY(424, "Failed Dependency"),
+  PRECONDITION_REQUIRED(428, "Precondition Required"),TOO_MANY_REQUESTS(429, 
"Too Many Requests"),
   METHOD_FAILED(420, "Method Failed"),
+  REQUEST_HEADER_FIELD_TOO_LARGE(431, "Request Header Fields Too Large"),
+  UNAVAILABLE_FOR_LEGAL_REASONS(451, "Unavailable For Legal Reasons"),
 
   INTERNAL_SERVER_ERROR(500, "Internal Server Error"), NOT_IMPLEMENTED(501, 
"Not Implemented"), BAD_GATEWAY(502,
       "Bad Gateway"), SERVICE_UNAVAILABLE(503, "Service Unavailable"), 
GATEWAY_TIMEOUT(504, "Gateway Timeout"),

Reply via email to