Skip to content

framework sdk 上传文件时,设置头部错误。 #33

@ROMYIM

Description

@ROMYIM

在上传word文档的时候,客户端重新设置了content-type头部。
但是HttpWebRequest的Content-Type头部不能通过Add方法设置,必须通过专有属性ContentType设置。

如图:
image
image

环境:
OS:win11
dotnet sdk: .net framework 4.8
sdk: obs-sdk-.net/3.20.7

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