gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix: adding headers twice


From: gnunet
Subject: [taler-exchange] branch master updated: fix: adding headers twice
Date: Mon, 19 Aug 2024 19:48:30 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 452e18331 fix: adding headers twice
452e18331 is described below

commit 452e1833107fbb8cb883f6353a388732c79be714
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 19 14:48:24 2024 -0300

    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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]