CORS
Implements the CORS protocol. The actual middleware is a CORSPolicy, which can be obtained via policy.
Attributes
- See also
- Source
- CORS.scala
- Graph
-
- Supertypes
- Self type
-
CORS.type
Members list
Value members
Deprecated methods
Attributes
- Deprecated
- true
- Source
- CORS.scala
CORS middleware This middleware provides clients with CORS information based on information in CORS config.
CORS middleware This middleware provides clients with CORS information based on information in CORS config. Currently, you cannot make permissions depend on request details
Attributes
- Deprecated
- true
- Source
- CORS.scala
Attributes
- Deprecated
- true
- Source
- CORS.scala
Attributes
- Deprecated
- true
- Source
- CORS.scala
Concrete fields
The default CORS policy: - Sends Access-Control-Allow-Origin: *
- Sends no Access-Control-Allow-Credentials
- Sends no Access-Control-Expose-Headers
- Sends Access-Control-Allow-Methods: GET, HEAD, POST
- Reflects request's Access-Control-Request-Headers
as Access-Control-Allow-Headers
- Sends no Access-Control-Max-Age
The default CORS policy: - Sends Access-Control-Allow-Origin: *
- Sends no Access-Control-Allow-Credentials
- Sends no Access-Control-Expose-Headers
- Sends Access-Control-Allow-Methods: GET, HEAD, POST
- Reflects request's Access-Control-Request-Headers
as Access-Control-Allow-Headers
- Sends no Access-Control-Max-Age
Attributes
- Source
- CORS.scala
Deprecated fields
Attributes
- Deprecated
- true
- Source
- CORS.scala