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.
Currently, the
Content-Typeheader for a type conforming to theAPIotaCodableEndpointprotocol must be set explicitly.The
Content-Typeheader should be inferred automatically based on the content of the request itself. This header should be appended to theheadersthat are attached to the request generated as a result of the default implementation of therequest(baseUrlComponents: URLComponents) throws -> URLRequestmethod on theAPIotaCodableEndpointprotocol.