Companion

object Companion

Properties

Link copied to clipboard
val CorsDefaultHeaders: Set<String>

Default HTTP headers that are always allowed by CORS

Link copied to clipboard
val CorsDefaultMethods: Set<HttpMethod>

Default HTTP methods that are always allowed by CORS

Link copied to clipboard
val CorsSimpleContentTypes: Set<ContentType>

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 ) Please note that Content-Type header simplicity depends on it's value.

Link copied to clipboard
val CorsSimpleResponseHeaders: Set<String>

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