http-browserify
http-browserify copied to clipboard
add Response#setEncoding
+1
+1
better than nothing +1
+1
I'll rebase this if one with commit bit says it will be merged.
+1
+3
One can at least put the following code into lib/response.js, to make the error disappear:
Response.prototype.setEncoding = function(encoding) { // not implemented }
If needed, you have to handle the encoding elsewhere, because that would need further changes in http-browserify.