Skip to content

ContentType.Json doesn't set the content type header correctly #171

Closed
@Styn

Description

@Styn

Recently (I think since 5.0.0) requests (I've seen it happen with POST and PUT) that define ContentType.Json don't correctly set the content-type header.
It's set to Content-Type: text/plain;charset=UTF-8

A workaround is possible by setting the content-type by hand via RequestParams and setting the Content-Type to application/json manually.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions