Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Question about responses as readable streams #153
If I use Wreck.request, I can pipe the response, and the text is dumped out to my terminal.
If I use Wreck.get, no text is dumped to my terminal. I think this is because this uses Wreck.read internally, and the readstream already emitted its 'finish' event. Is there a way to re-start the readstream from the beginning? Otherwise, what is the point of documenting that the response is a readable stream in this case?
I believe that you are right about the stream having been already read. Its contents get funneled into a third