Skip to content

Automatic 'Content-Type' header inference for requests #11

@danielrbrowne

Description

@danielrbrowne

Currently, the Content-Type header for a type conforming to the APIotaCodableEndpoint protocol must be set explicitly.

The Content-Type header should be inferred automatically based on the content of the request itself. This header should be appended to the headers that are attached to the request generated as a result of the default implementation of the request(baseUrlComponents: URLComponents) throws -> URLRequest method on the APIotaCodableEndpoint protocol.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions