Parse additional fields on file uploads? #89
-
Is it currently not possible to parse additional fields from a file upload multiform via For example, suppose you use Dropzone.js and use its chunked uploads feature, an individual file will then be split into multiple chunks and gets uploaded one by one in their own multiform POSTs
Back with ExpressJS + Multer, those additional fields could be read from With Hyper-Express' |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
HyperExpress currently does not support Chunked Encoding Transfer requests meaning the content-length of the body must be specified. You can retrieve both normal text and file type fields with the Response.multipart() method as listed in the documentation. HyperExpress uses the BusBoy multipart form parser under the hood which will call the handler with both normal and file containing fields. |
Beta Was this translation helpful? Give feedback.
HyperExpress currently does not support Chunked Encoding Transfer requests meaning the content-length of the body must be specified.
You can retrieve both normal text and file type fields with the Response.multipart() method as listed in the documentation.
HyperExpress uses the BusBoy multipart form parser under the hood which will call the handler with both normal and file containing fields.