senchalabs/connect — Issue #450: Improvement: Add an md5 or sha1 hash to file uploads
Author: dobesv
Created: 2012-01-03 08:44:28+00:00
State: open

For my app I wanted to be able to check whether a file upload was the same as the one previously uploaded to save processing time.

I made a simple middleware that you can apply to add an md5 hash to all file uploads when you use connect.bodyParser().

This concept could potentially be integrated into the core code if others are interested in it ... but for future searchers who want this capability here it is:

https://gist.github.com/1554120