[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: /terms also must have CORS heade
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: /terms also must have CORS headers |
Date: |
Fri, 01 May 2020 10:32:35 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 4583ce4e /terms also must have CORS headers
4583ce4e is described below
commit 4583ce4ef3e72edf001fac3ba3290dfc547dd785
Author: Florian Dold <address@hidden>
AuthorDate: Fri May 1 14:02:15 2020 +0530
/terms also must have CORS headers
---
src/mhd/mhd_legal.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index a46b7279..19a21475 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -185,6 +185,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
resp = MHD_create_response_from_buffer (0,
NULL,
MHD_RESPMEM_PERSISTENT);
+ TALER_MHD_add_global_headers (resp);
ret = MHD_queue_response (conn,
MHD_HTTP_NOT_MODIFIED,
resp);
@@ -288,6 +289,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
(void *) t->terms,
MHD_RESPMEM_PERSISTENT);
}
+ TALER_MHD_add_global_headers (resp);
if (NULL != legal)
GNUNET_break (MHD_YES ==
MHD_add_response_header (resp,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: /terms also must have CORS headers,
gnunet <=