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

Refactor PutObject API calls to add context and additional metadata. #811

Merged
merged 1 commit into from
Sep 20, 2017

Commits on Sep 18, 2017

  1. Refactor PutObject API calls to add context and additional metadata.

    Add additional Api calls PutObjectWithContext, GetObjectWithContext,
    FPutObjectWithContext and FGetObjectWithContext to allow request cancellation.
    
    Remove PutObjectWithSize,PutObjectStreaming,PutEncryptedObject,PutObjectWithMetadata
    calls and fold into a single PutObject call which accepts a pointer to PutObjectOptions
    struct. PutObjectOptions struct allows user to optionally set custom metadata, content response headers,
    encryption materials module for data encryption, and specify number of threads for a multi-part
    Put operation. Currently,Content-Encoding,Cache-Control, Content-Type and Content-Disposition headers
    are supported.
    
    Deprecated support for Go versions 1.5.x,1.6.x. Add support for 1.9.x
    poornas committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    b83685e View commit details
    Browse the repository at this point in the history