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

sendFile is not JSON parsing the resulting body #50

Open
TheThing opened this issue Sep 14, 2015 · 1 comment
Open

sendFile is not JSON parsing the resulting body #50

TheThing opened this issue Sep 14, 2015 · 1 comment
Labels

Comments

@TheThing
Copy link

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.

@frankrousseau
Copy link
Contributor

Thank you @TheThing for reporting. We'll have a look at it. But I can't give you a precise date for that fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants