Companion

object Companion

Properties

Link copied to clipboard
const val CORS_DEFAULT_MAX_AGE: Long

The default CORS max age value.

Link copied to clipboard
val CorsDefaultMethods: Set<<ERROR CLASS>>

Default HTTP methods that are always allowed by CORS.

Link copied to clipboard
val CorsSimpleContentTypes: Set<<ERROR CLASS>>

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

Link copied to clipboard
val CorsSimpleRequestHeaders: Set<String>

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
val CorsSimpleResponseHeaders: Set<String>

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).