-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while decoding JSON on empty responses #11
Comments
That is actually correct behaviour; an empty string is not valid JSON (and is not equivalent to eg.
If the API you're talking to returns an empty response with a I've had some issues with Tahoe-LAFS' web API in the past, which wouldn't send along a valid |
In my original post, I actually meant to say that it is failing on a |
Ah yes, in the case of a Can you provide an example URL, by any chance? |
So far, I have been using it with a private cloud service, that I cannot share. I will try to find another public example. |
If
decodeJSON
is set totrue
in a request, and the response has a status code of200
with empty response, I am getting this error:The text was updated successfully, but these errors were encountered: