HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content type negotiation

This commit is contained in:
Florian Dold 2020-01-16 16:40:02 +01:00
parent bb2a56a91a
commit 23507d8565
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 1 additions and 11 deletions

@ -1 +1 @@
Subproject commit 934a6a18301e81c4fd1b3a8cda2dc13dca4741cc
Subproject commit ca53235ccfa0458ebf11c204888ca370e20ec3f5

View File

@ -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 */

View File

@ -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 */