Files
marqdo/tests/lib/net-multipart.mq.md
T
cflmyandCursor abcb141737 refactor: prefer link-index get across examples and tests
Migrate remaining footnote-style collection access in examples,
public/structure, and ext/lib smokes to [key](base); teach link-index in
structure pages and use bracket calls in the cafe journal example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:54:38 +08:00

626 B


title: net multipart_parse import net:lib/net.mq.md

main

boundary = ----WebKitFormBoundary7MA4YWxkTrZu0gW

body = "--boundary\nContent-Disposition: form-data; name="title"\n\nHello\n--boundary\nContent-Disposition: form-data; name="file"; filename="a.txt"\nContent-Type: text/plain\n\nfile body\n--boundary--\n"

parts = > net.multipart_parse body=body boundary=boundary

print text=name print text=value print text=name print text=filename print text=content_type print text=value