From 7d280adf22a83d5446153820a42258d352418269 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Tue, 22 Sep 2020 16:38:43 +0200 Subject: Use NOT_FOUND in DocumentResponse as well — as success MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jdisc_core/src/main/java/com/yahoo/jdisc/Response.java | 1 + 1 file changed, 1 insertion(+) (limited to 'jdisc_core/src/main/java/com/yahoo') 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; -- cgit v1.2.3