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

vweb: remove a duplicate function parse_multipart_form

This commit is contained in:
Alexander Medvednikov
2021-09-11 04:21:10 +03:00
parent 07bd61582c
commit 1546090131
3 changed files with 3 additions and 39 deletions

View File

@@ -261,7 +261,7 @@ struct MultiplePathAttributesError {
code int
}
fn parse_multipart_form(body string, boundary string) (map[string]string, map[string][]FileData) {
pub fn parse_multipart_form(body string, boundary string) (map[string]string, map[string][]FileData) {
sections := body.split(boundary)
fields := sections[1..sections.len - 1]
mut form := map[string]string{}