add allow-methods * for cors preflight
This commit is contained in:
parent
9eaa2a24e6
commit
7adf9f170f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user