On explaining the PUT method, the text says: "The output stream to the request may also fail, for example if the network goes down". The request is a readable stream. What is the output stream to the request?
Below, we have: "When pipe is done, it will close the output stream, which causes it to fire a "finish" event''. From this sentence I infer that the output stream is the object created with createWriteStream(path), but this doesn't seem to match the first sentence.
On explaining the PUT method, the text says: "The output stream to the request may also fail, for example if the network goes down". The request is a readable stream. What is the output stream to the request?
Below, we have: "When pipe is done, it will close the output stream, which causes it to fire a "finish" event''. From this sentence I infer that the output stream is the object created with
createWriteStream(path)
, but this doesn't seem to match the first sentence.