commit fa30a132a53196eec1ac731e332a075ba8b93991 parent bde1394ee4e0c449f39d079bca8c8447252c4632 Author: Florian Dold <florian@dold.me> Date: Tue, 19 Oct 2021 17:44:07 +0200 CORS: expose response headers by default Diffstat:
| M | src/mhd/mhd_responses.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c @@ -268,6 +268,11 @@ TALER_MHD_reply_cors_preflight (struct MHD_Connection *connection) /* Not available as MHD constant yet */ "Access-Control-Allow-Methods", "*")); + GNUNET_break (MHD_YES == + MHD_add_response_header (response, + /* Not available as MHD constant yet */ + "Access-Control-Expose-Headers", + "*")); { MHD_RESULT ret;