S3Sync.net
February 02, 2014, 01:27:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Feature Requests / s3sync.rb --headers (modified code attached) on: August 29, 2009, 05:15:15 PM
I wanted to add Content-Encoding:gzip to my s3sync.rb headers, but I didn't see a way to do it, so I modified the code to accept a --headers parameter which accepts arbitrary headers.

Example:
s3sync.rb -r ./testdir/ mybucket: --headers="Content-Encoding:gzip Cache-Control:public Expires:'31 December 2037 23:59:59 GMT' x-amz-acl:public-read"

Please be skeptical of my code, see attached file.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!