Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Actualización más reciente 2024-09-18 GMT+08:00

Deleting an Online Decompression Policy

Functions

Deletes the ZIP file decompression policy for a bucket. When the deletion succeeds, a success message is returned with the status code of 204.

Request Syntax

DELETE /?obscompresspolicy HTTP/1.1
Host: bucketname.obs.region.myhuaweicloud.com 
Authorization: authorization
Date: date

Request Parameters

This request contains no message parameters.

Request Headers

This request uses common headers. For details, see Tabla 3.

Request Elements

This request involves no elements.

Response Syntax

HTTP/1.1 status_code
Server: OBS
Date: date

Response Headers

La respuesta a la solicitud utiliza encabezados comunes. Para más detalles, consulte Tabla 1.

Response Elements

This response contains no elements.

Error Responses

No special error responses are returned. For details about error responses, see Tabla 2 and Tabla 3.

Sample Request

DELETE /?obscompresspolicy HTTP/1.1
Host: bucketname.obs.region.myhuaweicloud.com 
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:sc2PM13Wlfcoc/YZLK0MwsI2Zpo=
Date: Tue, 21 Jul 2020 17:28:46 GMT

Sample Response

HTTP/1.1 204 No Content
Server: OBS
Date: Tue, 07 Jul 2020 07:38:30 GMT