代码修改后的版本,全部提交
This commit is contained in:
18
COSXML/Model/Bucket/PutBucketPolicyRequest.cs
Normal file
18
COSXML/Model/Bucket/PutBucketPolicyRequest.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using COSXML.Common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace COSXML.Model.Bucket
|
||||
{
|
||||
public sealed class PutBucketPolicyRequest : BucketRequest
|
||||
{
|
||||
public PutBucketPolicyRequest(string bucket)
|
||||
: base(bucket)
|
||||
{
|
||||
this.method = CosRequestMethod.PUT;
|
||||
this.queryParameters.Add("policy ", null);
|
||||
this.needMD5 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user