BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders

data class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders(val passAll: Boolean? = null, val passes: List<String>? = null, val removes: List<String>? = null, val sets: List<BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet>? = null)

Constructors

constructor(passAll: Boolean? = null, passes: List<String>? = null, removes: List<String>? = null, sets: List<BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val passAll: Boolean? = null

Indicates whether other headers except the following headers are transmitted to the source site. It takes effect only when the RedirectType is set to Mirror. content-length, authorization2, authorization, range, date, and other headers Headers whose names start with oss-/x-oss-/x-drs-

Link copied to clipboard
val passes: List<String>? = null

Pass through the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).

Link copied to clipboard
val removes: List<String>? = null

Do not pass the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).

Link copied to clipboard

Set a Header to send to the source site. Regardless of whether the request contains the specified Header, these headers will be set when returning to the source site. It takes effect only when the RedirectType is set to Mirror. See set below.