diff options
author | djpnewton <djpnewton@gmail.com> | 2016-09-01 11:52:47 +1200 |
---|---|---|
committer | Daniel Newton <djpnewton@gmail.com> | 2016-09-01 22:12:19 +1200 |
commit | f012a857f5e9b3bdd11a64dd0c16b4c805076594 (patch) | |
tree | eaa981fbaccf896c2edbc3a8a0413bf3c091e053 /doc | |
parent | 84decb54f2592d543cb557bf46ce54cbcd2959e8 (diff) |
rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes.md | 4 |
1 files changed, 4 insertions, 0 deletions
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/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`) 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 |