Skip to content

上传目录后,类型错误 #2

Description

@HanLJie

使用如下代码目录类型为(application/octet-stream)
input1.SetBody(NULL); input1.SetContentLength(0); input1.SetContentType(""); QsError err2 = qsBucket.PutObject("DowonLoad2/", input1, output1);
使用如下代码目录类型为(application/x-directory)
input1.SetBody(NULL); input1.SetContentLength(0); input1.SetContentType("application/x-directory"); QsError err2 = qsBucket.PutObject("DowonLoad2/", input1, output1);

是否应当默认上传的类型?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions