commit 452e1833107fbb8cb883f6353a388732c79be714
parent 10afdd0d1e425c344416ef0dac8119693afa77c8
Author: Sebastian <sebasjm@gmail.com>
Date: Mon, 19 Aug 2024 14:48:24 -0300
fix: adding headers twice
Diffstat:
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_coins_get.c b/src/exchange/taler-exchange-httpd_coins_get.c
@@ -40,7 +40,6 @@ add_response_headers (void *cls,
struct MHD_Response *response)
{
(void) cls;
- TALER_MHD_add_global_headers (response);
GNUNET_break (MHD_YES ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_CACHE_CONTROL,
diff --git a/src/exchange/taler-exchange-httpd_kyc-info.c b/src/exchange/taler-exchange-httpd_kyc-info.c
@@ -186,7 +186,6 @@ add_response_headers (void *cls,
struct MHD_Response *response)
{
(void) cls;
- TALER_MHD_add_global_headers (response);
GNUNET_break (MHD_YES ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_CACHE_CONTROL,
diff --git a/src/exchange/taler-exchange-httpd_reserves_history.c b/src/exchange/taler-exchange-httpd_reserves_history.c
@@ -339,7 +339,6 @@ add_response_headers (void *cls,
struct MHD_Response *response)
{
(void) cls;
- TALER_MHD_add_global_headers (response);
GNUNET_break (MHD_YES ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_CACHE_CONTROL,