On Tue, 17 May 2016 06:52:30 GMT, Sönke Ludwig wrote:
This generally looks right. As a side note, I'd just recommend to serialize > to a JSON string directly for efficiency reasons:
Wait, there is actually res.writeJsonBody(response.rbody)
, which does the right thing and never allocates. It also has an allow_chunked
switch to control if the "Content-Length" header is always used, or if chunked transfer is allowed.