-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single header for Access-Control-Expose-Headers
This fixes the case where more than one header is exposed. Previously, only one header would be listed due to the way cowboy handles multiple response headers with the same name. If we had more control over the reply, we could perhaps add multiple headers (due to how cowboy_req:reply/4 works). However, this approach is much simpler and appears to be more consistent with its use in the wild.
- Loading branch information
1 parent
428293d
commit 09c1a24
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters