[v1.x] bad content-type: application/javascript - cannot handle the error #571
Closed
Description
Hi,
Formidable throws when content-type is application/javascript OR application/XML.
Looking at the code I can see this is not supported
This specifically is using postman
Odd to throw, but I can't catch the error.
const form = formidable({ multiples: true, uploadDir: 'files/' });
form.on('error', (e) => { //no such listener
e
})
Am I doing something wrong?
Metadata
Assignees
Labels
No labels