1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

http: fix response headers and status code; clean up ft and gg

This commit is contained in:
Alexander Medvednikov
2019-08-05 10:42:58 +02:00
parent ff730b4eb0
commit 7a7b5040e2
11 changed files with 131 additions and 96 deletions

View File

@@ -248,7 +248,6 @@ pub fn (m map_string) str() string {
if m.size == 0 {
return '{}'
}
// TODO use bytes buffer
mut sb := strings.new_builder(50)
sb.writeln('{')
for key, val in m {