nitcorn :: HTTPConnection :: parse_end
# We have reached the end of the body
private fun parse_end do
var res = new FlatBuffer.with_capacity(content_length)
for ch in current_header do res.append ch.write_to_string
res.append "\r\n\r\n"
for cb in current_body do res.append cb.write_to_string
read_http_request res.to_s
in_request = false
end
lib/nitcorn/http_request_buffer.nit:110,2--118,4