S3Sync.net
February 02, 2014, 01:20:10 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Feature Requests
>
s3sync.rb --headers (modified code attached)
Pages: [
1
]
« previous
next »
Print
Author
Topic: s3sync.rb --headers (modified code attached) (Read 3628 times)
mj
Newbie
Posts: 1
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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...