mock-aws-s3
mock-aws-s3 copied to clipboard
Stream on finish for putObject should pass back location, key, and bucket
Currently when a readable stream passed into the Body
finishes, the one call back with only a boolean is fired:
https://github.com/MathieuLoutre/mock-aws-s3/blob/6b5aa02d2f4c902db14a1cfd2e03ce0a10204594/lib/mock.js#L487
this should return the location, key and bucket just as the Buffer does:
done(null, { Location: dest, Key: search.Key, Bucket: search.Bucket })