Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add poOtherHeaders #120

Merged
merged 3 commits into from
Aug 11, 2014
Merged

add poOtherHeaders #120

merged 3 commits into from
Aug 11, 2014

Conversation

joeyh
Copy link
Collaborator

@joeyh joeyh commented Aug 9, 2014

For use with eg, the Internet Archive S3 interface.

Also example program which created https://archive.org/details/joeyh-test

Closes #119

For use with eg, the Internet Archive S3 interface.

Also example program which created https://archive.org/details/joeyh-test

Closes #119
Maxwell worried that allowing arbitrary nonstandard headers could cause
silent data loss if they were sent to a S3 endpoint that did not support
them. This avoids that problem, by only supporting the IA's
x-amz-auto-make-bucket header. If a server ignores that header, no data is
lost, although of course trying to PutObject into a bucket that does not
exist will fail.
@aristidb
Copy link
Owner

I don't really understand the point of auto-make-bucket. Why not just create the bucket yourself?

@joeyh
Copy link
Collaborator Author

joeyh commented Aug 10, 2014

Aristid Breitkreuz wrote:

I don't really understand the point of auto-make-bucket. Why not just create
the bucket yourself?

The metadata headers sent with the object become the metadata of the
bucket itself, and are eg, displayed on its page on archive.org. I don't
think S3 otherwise allows specifying metadata for a bucket, so this is
the hack the IA guys came up with to integrate it into their existing system.

(Metadata is very important to archivists, of course.)

see shy jo

@aristidb
Copy link
Owner

Sounds like a horrible hack, but if you need it for IA...

aristidb added a commit that referenced this pull request Aug 11, 2014
@aristidb aristidb merged commit bc01a6b into aristidb:master Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adding extra headers to S3 PutObject
2 participants