docs: fix streams example for write() after end()
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.
fix #8814
Signed-off-by:
Julien Gilli <julien.gilli@joyent.com>
parent
5e503f45
Please register or sign in to comment