org.http4s.server.middleware.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
-
trait Matchable
class Any
-
Self type
-
Members list
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