forked from boostorg/beast
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:
committed by
Vinnie Falco
parent
c984f6c94d
commit
edd162cf3b
@@ -38,6 +38,7 @@ enum class field : unsigned short
|
||||
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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user