BucketCorsItemResponse

data class BucketCorsItemResponse(val maxAgeSeconds: Int, val method: List<String>, val origin: List<String>, val responseHeader: List<String>)

Constructors

Link copied to clipboard
fun BucketCorsItemResponse(maxAgeSeconds: Int, method: List<String>, origin: List<String>, responseHeader: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

Link copied to clipboard

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

Link copied to clipboard

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

Link copied to clipboard

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.