[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: add allow-methods * for cors pre
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: add allow-methods * for cors preflight |
Date: |
Wed, 10 Feb 2021 20:33:01 +0100 |
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 7adf9f17 add allow-methods * for cors preflight
7adf9f17 is described below
commit 7adf9f170fbc314cc699c347f4c338be045c385f
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Feb 10 16:32:49 2021 -0300
add allow-methods * for cors preflight
---
src/mhd/mhd_responses.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c
index 9e6986a3..90a8d19f 100644
--- a/src/mhd/mhd_responses.c
+++ b/src/mhd/mhd_responses.c
@@ -289,6 +289,11 @@ TALER_MHD_reply_cors_preflight (struct MHD_Connection
*connection)
/* Not available as MHD constant yet
*/
"Access-Control-Allow-Headers",
"*"));
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (response,
+ /* Not available as MHD constant yet
*/
+ "Access-Control-Allow-Methods",
+ "*"));
{
MHD_RESULT ret;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: add allow-methods * for cors preflight,
gnunet <=