Skip to content

Commit

Permalink
writing requestBodyStream into request
Browse files Browse the repository at this point in the history
  • Loading branch information
beanieboi committed Jul 18, 2010
1 parent 3a6277c commit 7a11f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function request (options, callback) {
options.request.end();
} else if (options.requestBodyStream) {
options.requestBodyStream.addListener('data', function (chunk) {
options.requestBodyStream.write(chunk);
options.request.write(chunk);
})
options.requestBodyStream.addListener('end', function () {
options.request.end();
Expand Down

0 comments on commit 7a11f69

Please sign in to comment.