Add Access-Control-Expose-Headers field constant:

This response header is described both in [CORS](https://www.w3.org/TR/cors/)
and [Fetch](https://fetch.spec.whatwg.org/) specifications.
This commit is contained in:
Ivan Vilata-i-Balaguer authored and Vinnie Falco committed 2018-03-09 09:29:14 -08:00
1 parent c984f6c94d
commit edd162cf3b
5 files changed
+7 -1

No files matched your search

+2 -1
View File
@@ -26,7 +26,7 @@ namespace detail {
struct field_table
{
using array_type =
std::array<string_view, 352>;
std::array<string_view, 353>;
struct hash
{
@@ -104,6 +104,7 @@ struct field_table
"Access-Control-Allow-Headers",
"Access-Control-Allow-Methods",
"Access-Control-Allow-Origin",
"Access-Control-Expose-Headers",
"Access-Control-Max-Age",
"Access-Control-Request-Headers",
"Access-Control-Request-Method",