Companion

object Companion

Properties

Link copied to clipboard

The default CORS max age value.

Link copied to clipboard

Default HTTP methods that are always allowed by CORS.

Link copied to clipboard

The allowed set of content types that are allowed by CORS without preflight check.

Link copied to clipboard

Default HTTP headers that are always allowed by CORS (simple request headers according to https://www.w3.org/TR/cors/#simple-header). Note that Content-Type header simplicity depends on its value.

Link copied to clipboard

Default HTTP headers that are always allowed by CORS to be used in a response (simple request headers according to https://www.w3.org/TR/cors/#simple-header).