-
Notifications
You must be signed in to change notification settings - Fork 228
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
Bucket Lifecycle configuration APIs(Get, Set, Remove) #507
Conversation
13809e1
to
f330071
Compare
@@ -0,0 +1,54 @@ | |||
/* | |||
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, Inc. | |
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2021 MinIO, Inc. |
@@ -0,0 +1,38 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be under ilm
folder?
@@ -430,6 +430,9 @@ public override RestRequest BuildRequest(RestRequest request) | |||
request.AddQueryParameter("tagging",""); | |||
string body = this.BucketTags.MarshalXML(); | |||
request.AddParameter(new Parameter("text/xml", body, ParameterType.RequestBody)); | |||
request.AddOrUpdateParameter("Content-MD5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this computed for all operations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All operations with XML configuration attached, we get an exception if 'Content-MD5' is missing
6287cee
to
2f13b7d
Compare
2f13b7d
to
72f032d
Compare
72f032d
to
c835d12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Args, Examples & Functional test