检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Parent: CORSRule Constraints: Spaces, asterisks (*), ampersands (&), colons (:), less-than signs (<), and full-width characters are not allowed.
= 200; }, maxRedirects : 0, responseType : 'text', }; axios.request(reopt).then(function (response) { if(response.status < 300){ console.log('Listing object using temporary signature succeed.'); }
The values cannot contain spaces, equal signs (=), commas (,), semicolons (;), colons (:), or periods (.). If such characters are required, use URL or Base64 encoding. Format: x-obs-persistent-headers: key1:base64_encode(value1),key2:base64_encode(value2)...
Request Elements Table 1 Request elements Parameter Mandatory (Yes/No) Type Description ObjectLockConfiguration Yes Container Definition: Container for bucket-level WORM configurations. ObjectLockConfiguration is the parent node of ObjectLockEnabled and Rule.
Table 2 Elements required to configure the direct reading status for Archive objects Parameter Mandatory (Yes/No) Type Description DirectColdAccessConfiguration Yes Container Definition: Root node for the configuration of the direct reading for Archive objects.
The values cannot contain spaces, equal signs (=), commas (,), semicolons (;), colons (:), or periods (.). If such characters are required, use URL or Base64 encoding.
If Filter has Tag or Prefix as its child node, And cannot be a child node at the same level as the Tag or Prefix child node under Filter. (Tag and Prefix can be included in And.) Range: For details, see Table 10.
Table 2 Additional request elements Element Type Mandatory (Yes/No) Description Owner XML Yes Definition: Owner information of a bucket. Owner is the parent node of ID. Constraints: None ID String Yes Definition: Account ID of the bucket owner.
The values cannot contain spaces, equal signs (=), commas (,), semicolons (;), colons (:), or periods (.). If such characters are required, use URL or Base64 encoding. Format: x-obs-persistent-headers: key1:base64_encode(value1),key2:base64_encode(value2)...
Table 1 Elements for configuring bucket versioning Parameter Type Mandatory (Yes/No) Description VersioningConfiguration XML Yes Definition: Root node of versioning configuration, which is the parent node of Status.
Table 2 Server-side encryption request headers Header Type Mandatory (Yes/No) Description x-obs-server-side-encryption-customer-algorithm String No. This header is required when SSE-C is used.
The values cannot contain spaces, equal signs (=), commas (,), semicolons (;), colons (:), or periods (.). If such characters are required, use URL or Base64 encoding. Format: x-obs-persistent-headers: key1:base64_encode(value1),key2:base64_encode(value2)...
a Prefix and Delimiter Specified) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 HTTP/1.1 200 OK Server: OBS x-obs-request-id: 5DEB00000164A27A1610B8250790D703 x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSq3ls2ZtLDD6pQLcJq1yGITXgspSvBR Content-Type: application/xml
Table 1 Request elements Parameter Mandatory (Yes/No) Type Description Delete Yes XML Definition: List of objects to be deleted. Delete is the parent node of Object and Quiet. Constraints: None Range: For details, see Table 2.
Table 2 Error Responses Error Description HTTP Status Code NoSuchBucketPolicy The bucket policy does not exist. 404 MethodNotAllowed The involved method is not allowed (the corresponding feature is disabled). 405 For other errors, see Table 2. Sample Request GET /?
Table 2 Error Responses Error Description HTTP Status Code MethodNotAllowed The involved method is not allowed (the corresponding feature is disabled). 405 For other errors, see Table 2. Sample Request GET /?
The storage class options are as follows: STANDARD (Standard), WARM (Infrequent Access), COLD (Archive), DEEP_ARCHIVE (Deep Archive). If the x-obs-storage-class header is not in the request, a Standard bucket will be created.
Otherwise, 412 (precondition failed) is returned. Constraints: The time specified by this parameter cannot be later than the current server time (GMT time), or this parameter does not take effect.
Table 2 Request elements Parameter Mandatory (Yes/No) Type Description AccessControlList Yes XML Definition: Access control list. AccessControlList is the parent node of Grant, Grantee, and Permission. Constraints: None Range: For details, see Table 3.
Instead, the server encapsulates such a value using ?UTF-8?B?<(str)>?=. For instance, key1:abbc will be returned as key1: =?UTF-8?B?abbc?=. The values cannot contain spaces, equal signs (=), commas (,), semicolons (;), colons (:), or periods (.).