The fields from a form. Only if content-type is "multipart/form-data".
FormData fd = request.form.read("form_id"); if (fd.isFile) { // We have a file attached info("File name: ", fd.filename); info("File path: ", fd.path); } else { // We have data inlined into("Content-Type: ", fd.contentType, " Size: ", fd.data.length, " bytes") info("Data: ", fd.data); }
See Implementation
The fields from a form. Only if content-type is "multipart/form-data".