felixge/node-form-data — pull request #17 by newleafdigital (2012-10-23 20:11:52+00:00)
Title: Allow custom headers in parts

We're using this module (inside [request](https://github.com/mikeal/request)) to stream files from 3rd-party file storage services straight through (as multipart POSTs) to our REST API. Our API expects special headers on each part, but the module currently doesn't support that. This change allows an `options.header` parameter to override the header string passed to each part (including the boundary and CRLFs - the latter being particularly important, similar to [Request PR #272](https://github.com/mikeal/request/pull/272)).

Thank you!