commit 23507d8565334594bb397a08d2fd853f2b96d776
parent bb2a56a91a962f80200076af2ebaa7cefbf0dd33
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 16 Jan 2020 16:40:02 +0100
HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content type negotiation
Diffstat:
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
@@ -129,11 +129,6 @@ handle_admin_add_incoming_finished (void *cls,
happen, we should pass the JSON reply to the application */
ec = TALER_BANK_parse_ec_ (j);
break;
- case MHD_HTTP_NOT_ACCEPTABLE:
- /* Nothing really to verify, this should never
- happen, we should pass the JSON reply to the application */
- ec = TALER_BANK_parse_ec_ (j);
- break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */
diff --git a/src/bank-lib/bank_api_transfer.c b/src/bank-lib/bank_api_transfer.c
@@ -213,11 +213,6 @@ handle_transfer_finished (void *cls,
happen, we should pass the JSON reply to the application */
ec = TALER_BANK_parse_ec_ (j);
break;
- case MHD_HTTP_NOT_ACCEPTABLE:
- /* Nothing really to verify, this should never
- happen, we should pass the JSON reply to the application */
- ec = TALER_BANK_parse_ec_ (j);
- break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */