felixge/node-formidable — Issue #119: Is there a way to cancel parsing a form?
Author: xsace
Created: 2011-12-27 21:56:16+00:00
State: open

I'd like to have serverside validation on the file.type anc cancel a parsing if I detect an invalid file.

In the `form.on('file'` callback, if the file is not the right mimetype, is there a way to cancel the parsing to save time & bandwidth?

I can't find anything in the documentation