mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: fix body appending (missing closing json bracket)
This commit is contained in:
parent
64e8125807
commit
a62307f711
@ -280,7 +280,7 @@ fn handle_conn<T>(conn net.Socket, mut app T) {
|
||||
//println('GOT CL=$len')
|
||||
}
|
||||
} else {
|
||||
body += line
|
||||
body += line.trim_left('\r\n')
|
||||
if body.len >= len {
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user