Closed
Description
First off, I understand that the initial target of the this module was for node, and not the browser. With that said, I am using this module with Browserify on the web.
When Restler handles the response in _responseHandler
, response.setEncoding
is called. For reasons unknown to me, that particular method is not defined when on the web. I don't know what side effects could be caused by not calling it either.
I will be creating a pull request shortly that checks to see if that method is defined before calling it to potentially resolve this issue.
Metadata
Metadata
Assignees
Labels
No labels