Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

sendFile is not JSON parsing the resulting body #50

@TheThing

Description

@TheThing

When using .sendFile() the result body is not being JSON parsed according to this logic.

For a true server-end JSON API, it's really weird to expect this kind of response or behavior in my opinion that a response from file upload would be in text-form and not JSON form like everything else.

At the very least give us the option of forcing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions