Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Error on piping a request to a destination #31
i was getting a weird error using the master branch of request and sending it to a file:
I changed pause and resume to operate on response instead of request. However, I'm not sure if there will be any consequences to the change.
my brain hurts, but i think this is correct.
Request is a duplexed read/write stream. pause() and resume() are for readable streams, when the Request stream is being read it's in relation to the HTTP response, not the HTTP request, so I think this is all right.
Did you happen to run test/test-pipes?