diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-09-22 16:38:43 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-09-24 21:38:03 +0200 |
commit | 7d280adf22a83d5446153820a42258d352418269 (patch) | |
tree | 543d8d33a186f4cd15b60e53441b7aa8a6cf83bd /jdisc_core | |
parent | ba878c027385ac2db61dd849d39705c704786f62 (diff) |
Use NOT_FOUND in DocumentResponse as well — as success
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/Response.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java b/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java index c3d07a70e14..c3e386b020c 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/Response.java @@ -87,6 +87,7 @@ public class Response { int UNPROCESSABLE_ENTITY = 422; int LOCKED = 423; int FAILED_DEPENDENCY = 424; + int TOO_MANY_REQUESTS = 429; /** 5xx: Server Error - The server failed to fulfill an apparently valid request. */ int INTERNAL_SERVER_ERROR = 500; |