huaweicloud-sdk-go-obs icon indicating copy to clipboard operation
huaweicloud-sdk-go-obs copied to clipboard

【Feature】add Content-Disposition when putting object api

Open zjzjzjzj1874 opened this issue 2 years ago • 2 comments

Signed-off-by: zjzzzjjj [email protected]

zjzjzjzj1874 avatar Aug 08 '22 02:08 zjzjzjzj1874

If I upload an attachment file that needs to be downloaded, then I need to specify the Content-Disposition of the file, so that the file can be downloaded directly when accessing it. So a Pull Request was raised.

zjzjzjzj1874 avatar Aug 08 '22 07:08 zjzjzjzj1874

Compare with Tencent COS and Alibaba OSS,in their SDK, when I putfile with stream,I can specify Content-Disposition when uploading an attachment. Now we use HUAWEI OBS,if I wanna migrate from OSS or COS,this function is missing.

zjzjzjzj1874 avatar Aug 17 '22 03:08 zjzjzjzj1874