19 lines
437 B
C#
19 lines
437 B
C#
|
|
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;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|