summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-16 16:40:02 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-16 16:40:12 +0100
commit23507d8565334594bb397a08d2fd853f2b96d776 (patch)
tree13d9b2c75bfe8f92bd677f161c303bcf088c5559
parentbb2a56a91a962f80200076af2ebaa7cefbf0dd33 (diff)
downloadexchange-23507d8565334594bb397a08d2fd853f2b96d776.tar.gz
exchange-23507d8565334594bb397a08d2fd853f2b96d776.tar.bz2
exchange-23507d8565334594bb397a08d2fd853f2b96d776.zip
HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content type negotiation
m---------doc/prebuilt0
-rw-r--r--src/bank-lib/bank_api_admin.c5
-rw-r--r--src/bank-lib/bank_api_transfer.c5
3 files changed, 0 insertions, 10 deletions
diff --git a/doc/prebuilt b/doc/prebuilt
-Subproject 934a6a18301e81c4fd1b3a8cda2dc13dca4741c
+Subproject ca53235ccfa0458ebf11c204888ca370e20ec3f
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 6e4d937c..4c1cd320 100644
--- 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
index ad6d443d..404e84b6 100644
--- 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 */