-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Can't post binary to multipart requests #86
Conversation
(This is required to send multipart files to S3, as Amazon doesn't seem to accept base64 encoded files despite a |
Would love to deploy this pretty soon. What's in the way to getting this merged? |
this looks great but i'd really like a test for it. if you don't write one in the next few days then i probably will. |
Any news on this? |
i'm going to merge it, hopefully someone will write a test or tell me if it's broken, but it's better than not having it. |
Can't post binary to multipart requests
agreed. |
also, i won't push a new release to npm until someone verifies that this works and doesn't break the old API. |
request tries to concatenate text to the
body
part of a multipart request, which stringifies the buffer object. Instead, it should write the buffer to the socket as is.