nitcorn: use `bytelen` instead of `length` when setting `Content-Length` header
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 3 Aug 2015 21:17:32 +0000 (17:17 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 3 Aug 2015 21:17:32 +0000 (17:17 -0400)
commita2f53160a98dcdd545729d741b44c513bb04c40f
tree2560f6c9c794061aa1e37aed6f842c2024290093
parentb833e5993a7a7db4d6e1fd0beeeae8dafc8f1a55
nitcorn: use `bytelen` instead of `length` when setting `Content-Length` header

So UTF-8 files are rendered correctly.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/libevent.nit
lib/nitcorn/http_response.nit