huaweicloud-sdk-go-obs
huaweicloud-sdk-go-obs copied to clipboard
【Feature】add Content-Disposition when putting object api
Signed-off-by: zjzzzjjj [email protected]
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.
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.