Skip to content

Allow for Buffer instances as request bodies #46

merged 1 commit into from May 19, 2013

2 participants

jbpros commented Oct 11, 2012

It's difficult to treat binary data as strings in Node (and it's not recommended).

This patch lets you safely pass buffers to send().

@pwnall pwnall referenced this pull request in dropbox/dropbox-js Nov 26, 2012

Binary file support in node.js #28

@driverdan driverdan merged commit c2ba3df into driverdan:master May 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.