Skip to content
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

Don't call response.setEncoding when it isn't defined #162

Merged
merged 2 commits into from
Sep 29, 2015

Conversation

shaneneuerburg
Copy link
Contributor

This pull request checks to see if setEncoding is defined on response. If it isn't, it won't attempt to call it.

This would fix #161. Comments or concerns welcome.

@jadbaz
Copy link

jadbaz commented Sep 28, 2015

Why has this still not been merged with restler?
Still can't use restler with webpack!!!
Adding that line made it work.

easternbloc added a commit that referenced this pull request Sep 29, 2015
Don't call response.setEncoding when it isn't defined
@easternbloc easternbloc merged commit e70709c into danwrong:master Sep 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

response.setEncoding missing when using Browserify
3 participants