Skip to content

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

Merged
easternbloc merged 2 commits into
danwrong:masterfrom
shaneneuerburg:master
Sep 29, 2015
Merged

easternbloc merged 2 commits into
danwrong:masterfrom
shaneneuerburg:master

Conversation

@shaneneuerburg

Copy link
Copy Markdown
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

jadbaz commented Sep 28, 2015

Copy link
Copy Markdown

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