diff options
author | Florian Dold <florian@dold.me> | 2021-10-19 17:44:07 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-10-19 17:44:15 +0200 |
commit | fa30a132a53196eec1ac731e332a075ba8b93991 (patch) | |
tree | 1aeee34ce20fc6fddaddf5bd7ec10bfb428b74f2 /src/mhd/mhd_responses.c | |
parent | bde1394ee4e0c449f39d079bca8c8447252c4632 (diff) | |
download | exchange-fa30a132a53196eec1ac731e332a075ba8b93991.tar.xz |
CORS: expose response headers by default
Diffstat (limited to 'src/mhd/mhd_responses.c')
-rw-r--r-- | src/mhd/mhd_responses.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c index c993436cd..d93381063 100644 --- 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; |