[REST] give an appropriate response in warmup phase

This commit is contained in:
Jonas Schnelli
2014-11-26 13:51:02 +01:00
parent 210eba9fdb
commit 78bdc8103f
4 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ enum HTTPStatusCode
HTTP_FORBIDDEN = 403,
HTTP_NOT_FOUND = 404,
HTTP_INTERNAL_SERVER_ERROR = 500,
HTTP_SERVICE_UNAVAILABLE = 503,
};
//! Bitcoin RPC error codes