Last active
August 29, 2015 14:02
-
-
Save chris--young/8530a7fa9d4189ac1d1f to your computer and use it in GitHub Desktop.
A simplification...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.post('/images' | |
, function(req, res, next) { | |
var form = formidable.IncomingForm(); | |
form.parse(req, function(err, fields, files) { | |
console.log('__err__', err); // err === [Error: Request aborted] | |
console.log('__fields__', fields); // fields === {} | |
console.log('__files__', files); // files === {} | |
next(); | |
}); | |
} | |
, _addImages | |
); | |
function _addImages(req, res, next) { | |
// This point is never reached. | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment