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

return the body as a Buffer when encoding is set to null #132

Merged
merged 1 commit into from
Dec 12, 2011
Merged

return the body as a Buffer when encoding is set to null #132

merged 1 commit into from
Dec 12, 2011

Conversation

jahewson
Copy link

Follow the node.js convention of encoding: null returning a Buffer. Useful for pages which use encodings other than UTF-8 and ASCII.

#95 is a duplicate of this, but does not follow the encoding: null convention.

@mikeal
Copy link
Member

mikeal commented Dec 12, 2011

i love it when pull reqs come with tests :)

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.

2 participants