Details About a Redirection Request
Type Definition
type Redirect struct
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| Protocol | Optional when used as a request parameter | Protocol used for redirection | |
| HostName | string | Optional when used as a request parameter | Host name used for redirection |
| ReplaceKeyPrefixWith | string | Optional when used as a request parameter | Object name prefix used in the redirection request |
| ReplaceKeyWith | string | Optional when used as a request parameter | Object name used in the redirection request. This parameter cannot be used together with replaceKeyPrefixWith. |
| HttpRedirectCode | string | Optional when used as a request parameter | HTTP status code in the response to the redirection request |
Last Article: Matching Condition of a Redirection Rule
Next Article: Request Parameter of PUT Bucket versioning
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.