Commit 524882fa authored by Alejandro Oviedo's avatar Alejandro Oviedo Committed by Ben Noordhuis
Browse files

doc: change write() after end() streams example

Currently there's an example using http.ServerResponse stream, which
has a known bug and will not throw an error while writing after end().
Changed to a writable stream from fs which behaves as expected.

Fixes https://github.com/joyent/node/issues/8814.

PR-URL: https://github.com/iojs/io.js/pull/155


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarBrendan Ashworth <squirrelslikeacorns@gmail.com>
parent db595b2d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment