commit 61c4e06650f7f3c41b8402eace94ea8b289cb5fb
parent 2809a8643ba5a9f1c2c8b85963a03814790159c7
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 27 Jul 2020 21:33:18 +0200
use MHD constant
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/merchant-tools/taler-merchant-setup-reserve.c b/src/merchant-tools/taler-merchant-setup-reserve.c
@@ -199,10 +199,11 @@ run (void *cls,
char *auth_header;
GNUNET_asprintf (&auth_header,
- "Authorization: ApiKey %s",
+ "%s: ApiKey %s",
+ MHD_HTTP_HEADER_AUTHORIZATION,
apikey);
GNUNET_CURL_append_header (ctx,
- auth_header);
+ auth_header);
GNUNET_free (auth_header);
}