对象存储服务 OBS-PUT上传:请求示例:上传时配置对象级WORM保护策略

时间:2024-10-21 15:06:42

请求示例:上传时配置对象级WORM保护策略

PUT /object01 HTTP/1.1
User-Agent: curl/7.29.0
Host: examplebucket.obs.cn-north-4.myhuaweicloud.com
Accept: */*
Date: WED, 01 Jul 2015 04:11:15 GMT
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:gYqplLq30dEX7GMi2qFWyjdFsyw=
Content-Length: 10240
x-obs-object-lock-mode:COMPLIANCE
x-obs-object-lock-retain-until-date:2022-09-24T16:10:25Z
Expect: 100-continue

[1024 Byte data content]
support.huaweicloud.com/api-obs/obs_04_0080.html