代码修改后的版本,全部提交
This commit is contained in:
29
COSXML/Model/Object/PutObjectResult.cs
Normal file
29
COSXML/Model/Object/PutObjectResult.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Text;
|
||||
|
||||
namespace COSXML.Model.Object
|
||||
{
|
||||
/// <summary>
|
||||
/// 简单上传对象返回的结果
|
||||
/// <see cref="https://cloud.tencent.com/document/product/436/7749"/>
|
||||
/// </summary>
|
||||
public sealed class PutObjectResult : CosResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 对象的eTag
|
||||
/// </summary>
|
||||
public string eTag;
|
||||
|
||||
internal override void InternalParseResponseHeaders()
|
||||
{
|
||||
List<string> values;
|
||||
this.responseHeaders.TryGetValue("ETag", out values);
|
||||
if (values != null && values.Count > 0)
|
||||
{
|
||||
eTag = values[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user