Merge: Changed nitcorn HTTPResponse body type to Writable
authorJean Privat <jean@pryen.org>
Fri, 1 Jun 2018 17:10:06 +0000 (13:10 -0400)
committerJean Privat <jean@pryen.org>
Fri, 1 Jun 2018 17:10:06 +0000 (13:10 -0400)
commitd4ba5de74a279e6e3c1fcec248039aee3554f1d4
treea59d57f17bd2bdd94eec9da0a256a2af48b5f89e
parenta1a2108a3ce0ed15b513aae55aa9c7fa22a4f2c6
parent84e1c18cfcd040e14f790fe852f753b19d9f8a7d
Merge: Changed nitcorn HTTPResponse body type to Writable

This PR allows to send binaries (and whatever writable document) as bodies in nitcorn's responses.

The reduced use of buffers and copies should also reduce the pressure on the GC and make things faster.

Embrace, extend and extinguish #2703

Pull-Request: #2704
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>