allow 204 response

This commit is contained in:
Christian Grothoff 2021-08-06 13:14:36 +02:00
parent caf6807856
commit e5a14a8b25
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -167,6 +167,9 @@ handle_credit_history_finished (void *cls,
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
ec = TALER_EC_NONE;
break;
case MHD_HTTP_NO_CONTENT:
ec = TALER_EC_NONE;
break;
case MHD_HTTP_BAD_REQUEST:
/* This should never happen, either us or the bank is buggy
(or API version conflict); just pass JSON reply to the application */