Skip to content

Content-Type headers for requests #2

@pinkgothic

Description

@pinkgothic

At the moment, headers can only be set globally in the object instantiation, not per-request. This is unfortunately awkward for Content-Type headers which make the most sense with the verbs POST, PUT and PATCH, but less with GET or DELETE. While it's not required per RFC that Content-Type be omitted for GET and DELETE it would be nice if we could make the distinction.

(That said, for Content-Type in particular it would help to just be able to supply a charset and the class constructing the Content-Type header in the background, if you'd rather tackle the specific issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions