Skip to content

Don't add duplicated values for the same Content-Type header #246

@massdonati

Description

@massdonati

Hello,
I'm currently seeing that if we configure the service as follows

service().configure { config in
    config.headers["Content-Type"] = "application/json"
}

when creating a request with the request(_:json:) api the Content-Type header key is set to application/json,application/json.

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