nitcorn: render the response in a template to avoid a copy&buffer
authorJean Privat <jean@pryen.org>
Thu, 31 May 2018 18:17:25 +0000 (14:17 -0400)
committerJean Privat <jean@pryen.org>
Thu, 31 May 2018 19:52:25 +0000 (15:52 -0400)
commitcce74f261b4b79360bfc70d062b1e4d01f8aef82
tree26c3a7cc7bc696fbf0cb9c94aa6d1e9acc0b9dcd
parent32167b6052083e5ac6f88e46f0223317b41947fb
nitcorn: render the response in a template to avoid a copy&buffer

By the way, name the method `render` instead of reusing `to_s`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/nitcorn/http_response.nit
lib/nitcorn/reactor.nit