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

Permit Buffer and binary string as options.data. #193

Closed
wants to merge 1 commit into from

Conversation

mthx
Copy link

@mthx mthx commented Nov 6, 2014

Prior to this change Buffer was subjected to stringify as it matched the
'object' typeof test. binary string also ended up corrupt. This change
ensures we're done with encoding by the time we write to the request
and adds some tests that previously failed.

Prior to this change Buffer was subjected to stringify as it matched the
'object' typeof test.  binary string also ended up corrupt.  This change
ensures we're done with encoding by the time we write to the request.
@mthx
Copy link
Author

mthx commented Nov 6, 2014

node.js is pretty new to me so let me know if I've missed anything obvious or made a mess. Thanks.

@EricTheMagician
Copy link

This fixes some of the issues I am having with posting files directly without wrapping it in a form first.

@mthx
Copy link
Author

mthx commented May 27, 2019

Closing my PR. Last change in this project was > 4 years ago so not likely to be merged and now has conflicts.

@mthx mthx closed this May 27, 2019
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.

None yet

2 participants