Skip to content

Setting headers automatically causes issues #11

@phillijw

Description

@phillijw

headers.Add("content-type", "application/json;charset=UTF-8");

On this line, setting the headers for content-type and content-length automatically can cause issues, such as my specific use case. The server I'm connecting to does not allow the content-type (and I realize they SHOULD). If this was able to be overridden somehow that would be great. At the moment I'm working around it by using the overloaded method that allows a string.

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