appsattic/node-awssum — pull request #10 by nfriedly (2012-03-31 03:41:27+00:00)
Title: Streaming support for S3 uploads

Allows the body of an S3.PutObject() to be a ReadableStream. Includes tests and an example. Should work for most other services with little or no tweaking.

The only downside is that you must supply the content length, so it won't work for multipart/form-data uploads.

I also fixed a couple of bugs where content-length was being overridden in s3-config.js and content-md5 was being skipped but would have also overridden the user-supplied value. Now they both jump in, if possible, but do not nuke existing values.

This fixes issue #7.