Class BlobHttpHeaders
Standard HTTP properties supported by containers and blobs. These properties are represented as standard HTTP headers use standard names, as specified in the Header Field Definitions section 14 of the HTTP/1.1 protocol specification.
For more information, see Setting and retrieving properties and metadata for Blob service resources.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Storage.Blobs.dll
Syntax
public class BlobHttpHeaders
Constructors
BlobHttpHeaders()
Declaration
public BlobHttpHeaders ();
Properties
CacheControl
Specify directives for caching mechanisms.
Declaration
public string CacheControl { get; set; }
Property Value
System.String
|
ContentDisposition
Conveys additional information about how to process the response payload, and also can be used to attach additional metadata. For example, if set to attachment, it indicates that the user-agent should not display the response, but instead show a Save As dialog with a filename other than the blob name specified.
Declaration
public string ContentDisposition { get; set; }
Property Value
System.String
|
ContentEncoding
Specifies which content encodings have been applied to the blob. This value is returned to the client when the Get Blob operation is performed on the blob resource. The client can use this value when returned to decode the blob content.
Declaration
public string ContentEncoding { get; set; }
Property Value
System.String
|
ContentHash
An MD5 hash of the blob content. This hash is used to verify the integrity of the blob during transport. When this header is specified, the storage service checks the hash that has arrived with the one that was sent. If the two hashes do not match, the operation will fail with error code 400 (Bad Request).
Declaration
public byte[] ContentHash { get; set; }
Property Value
System.Byte[]
|
ContentLanguage
Specifies the natural languages used by this resource.
Declaration
public string ContentLanguage { get; set; }
Property Value
System.String
|
ContentType
The MIME content type of the blob.
Declaration
public string ContentType { get; set; }
Property Value
System.String
|
Methods
Equals(Object)
Check if two BlobHttpHeaders instances are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The instance to compare to. |
Returns
System.Boolean
True if they're equal, false otherwise. |
GetHashCode()
Get a hash code for the BlobHttpHeaders.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
Hash code for the BlobHttpHeaders. |
ToString()
Creates a string representation of a BlobHttpHeaders.
Declaration
[System.ComponentModel.EditorBrowsable]
public override string ToString ();
Returns
System.String
|