From 452e1833107fbb8cb883f6353a388732c79be714 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 19 Aug 2024 14:48:24 -0300 Subject: fix: adding headers twice --- src/exchange/taler-exchange-httpd_coins_get.c | 1 - src/exchange/taler-exchange-httpd_kyc-info.c | 1 - src/exchange/taler-exchange-httpd_reserves_history.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/exchange/taler-exchange-httpd_coins_get.c b/src/exchange/taler-exchange-httpd_coins_get.c index cd453275e..8644395e5 100644 --- 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 index 0436fb78d..88da07de3 100644 --- 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 index 056d4b0ef..61e6043a2 100644 --- 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, -- cgit v1.2.3