I wish to create redirect object.
It is redirect to JSON file. HTML expires header will not work for me.
touch google
s3cmd --add-header='Location: http://www.google.com/' -P put google s3://bucket/google
It does not work as I do not set HTTP sttaus to 302
I prefer s3cmd
as it is already installed on target server but python might ok as well if s3cmd
can't do that.