allow 204 response
This commit is contained in:
parent
caf6807856
commit
e5a14a8b25
@ -167,6 +167,9 @@ handle_credit_history_finished (void *cls,
|
|||||||
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
|
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
|
||||||
ec = TALER_EC_NONE;
|
ec = TALER_EC_NONE;
|
||||||
break;
|
break;
|
||||||
|
case MHD_HTTP_NO_CONTENT:
|
||||||
|
ec = TALER_EC_NONE;
|
||||||
|
break;
|
||||||
case MHD_HTTP_BAD_REQUEST:
|
case MHD_HTTP_BAD_REQUEST:
|
||||||
/* This should never happen, either us or the bank is buggy
|
/* This should never happen, either us or the bank is buggy
|
||||||
(or API version conflict); just pass JSON reply to the application */
|
(or API version conflict); just pass JSON reply to the application */
|
||||||
|
Loading…
Reference in New Issue
Block a user