You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call a 3rd party application using their library that depends on restler, if their response is 'empty', there is a parse error produced in restler. Unfortunately, their representation of an empty string has a space, therefore restler tries to parse the string, which results in invalid json and thus produces the error. My proposal is to trim the response before testing whether it is empty. I have created a pull request and will mention this issue in the request.
The text was updated successfully, but these errors were encountered:
When I call a 3rd party application using their library that depends on restler, if their response is 'empty', there is a parse error produced in restler. Unfortunately, their representation of an empty string has a space, therefore restler tries to parse the string, which results in invalid json and thus produces the error. My proposal is to trim the response before testing whether it is empty. I have created a pull request and will mention this issue in the request.
The text was updated successfully, but these errors were encountered: