Help Center> Object Storage Service> SDK Reference> Python> Data Types> Matching Condition of a Redirection Rule

Matching Condition of a Redirection Rule

Namespace

obs.Condition

Parameter Description

Field

Type

Optional or Mandatory

Description

keyPrefixEquals

str

Optional when used as a request parameter

Object name prefix to be matched when a redirection rule takes effect

httpErrorCodeReturnedEquals

int

Optional when used as a request parameter

HTTP error code to be matched when a redirection rule takes effect