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

merged 1 commit into from Dec 12, 2011


None yet

2 participants


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 commented Dec 12, 2011

i love it when pull reqs come with tests :)

@mikeal mikeal merged commit 5a37199 into request:master Dec 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment