We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf98f7c commit ef04983Copy full SHA for ef04983
vlib/net/http/request.v
@@ -304,16 +304,9 @@ pub fn (err MultiplePathAttributesError) msg() string {
304
// HTTP request body. It is the inverse of parse_multipart_form. Returns
305
// (body, boundary).
306
// Note: Form keys should not contain quotes
307
-[manualfree]
308
fn multipart_form_body(form map[string]string, files map[string][]FileData) (string, string) {
309
rboundary := rand.ulid()
310
- defer {
311
- unsafe { rboundary.free() }
312
- }
313
mut sb := strings.new_builder(1024)
314
315
- unsafe { sb.free() }
316
317
for name, value in form {
318
sb.write_string('\r\n--')
319
sb.write_string(rboundary)
0 commit comments