commit edc3d8fe0c1b4764835dd8531a6ca746021d076f
parent 004d573289d52bc13b5266f2d73f93b770254144
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 7 Apr 2026 10:29:01 +0200
match spec: 403 does not exist, 500 does
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_get-kyc-proof-PROVIDER_NAME.c b/src/exchange/taler-exchange-httpd_get-kyc-proof-PROVIDER_NAME.c
@@ -638,4 +638,4 @@ TEH_handler_kyc_proof (
}
-/* end of taler-exchange-httpd_kyc-proof.c */
+/* end of taler-exchange-httpd_get-kyc-proof-PROVIDER_NAME.c */
diff --git a/src/lib/exchange_api_get-kyc-proof-PROVIDER_NAME.c b/src/lib/exchange_api_get-kyc-proof-PROVIDER_NAME.c
@@ -139,10 +139,12 @@ handle_get_kyc_proof_finished (void *cls,
break;
case MHD_HTTP_UNAUTHORIZED:
break;
- case MHD_HTTP_FORBIDDEN:
- break;
case MHD_HTTP_NOT_FOUND:
break;
+ case MHD_HTTP_INTERNAL_SERVER_ERROR:
+ /* Server had an internal issue; we should retry, but this API
+ leaves this to the application */
+ break;
case MHD_HTTP_BAD_GATEWAY:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */