diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-17 11:26:19 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-17 11:26:19 +0100 |
commit | 6b8c75788710b64eaf1323c9cd95a428c129012d (patch) | |
tree | 8633a07a1293c661b9a11d49cc3850404e0055cd /src/mhd | |
parent | 7332403bf0d72c9b1bb17348ef96b91615bcf525 (diff) |
towards merging with master
Diffstat (limited to 'src/mhd')
-rw-r--r-- | src/mhd/mhd_responses.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c index d93381063..5b99dd128 100644 --- a/src/mhd/mhd_responses.c +++ b/src/mhd/mhd_responses.c @@ -53,6 +53,11 @@ TALER_MHD_add_global_headers (struct MHD_Response *response) MHD_add_response_header (response, MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, "*")); + GNUNET_break (MHD_YES == + MHD_add_response_header (response, + /* Not available as MHD constant yet */ + "Access-Control-Expose-Headers", + "*")); } @@ -268,12 +273,6 @@ 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; |