http.forms.parse_form_data

http.forms

parse_form_data(boundary, body) -> args

Parse a multipart/form-data body into a key-value table

Parses a multipart/form-data body using the given boundary string. Text fields are URL-decoded and HTML-escaped. File uploads are returned as tables with filename, content, and content_type fields.