Rhinofly/play-libraries — pull request #1 by mbknor (2012-10-21 19:38:53+00:00)
Title: Adding Optional Headers to BucketFile

Adding Optional Headers to BucketFile making it possible to add custom headers when PUTing/adding file

Example:

val headers = Map("Cache-Control"->"public, max-age=61")
bucket.add( BucketFile(id, "image/png", data, Some(headers)) )