From f012a857f5e9b3bdd11a64dd0c16b4c805076594 Mon Sep 17 00:00:00 2001 From: djpnewton Date: Thu, 1 Sep 2016 11:52:47 +1200 Subject: rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST --- doc/release-notes.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/release-notes.md b/doc/release-notes.md index 0be192233d..f2d8ca3a15 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -59,6 +59,10 @@ git merge commit are mentioned. ### RPC and REST +UTXO set query (`GET /rest/getutxos//-/-/.../-.`) responses +were changed to return status code HTTP_BAD_REQUEST (400) instead of HTTP_INTERNAL_SERVER_ERROR (500) when requests +contain invalid parameters. + ### Configuration and command-line options ### Block and transaction handling -- cgit v1.2.3