From a62307f711679d17b2a118bc81eb3555ecc5698a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 13 Aug 2020 21:07:26 +0300 Subject: [PATCH] vweb: fix body appending (missing closing json bracket) --- vlib/vweb/vweb.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index fdc3fc1108..9e41f0aee9 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -280,7 +280,7 @@ fn handle_conn(conn net.Socket, mut app T) { //println('GOT CL=$len') } } else { - body += line + body += line.trim_left('\r\n') if body.len >= len { break }