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.
Namespace: Azure.Storage.Blobs.Models
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
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
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
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
Byte[]
|
ContentLanguage
Specifies the natural languages used by this resource.
Declaration
public string ContentLanguage { get; set; }
Property Value
String
|
ContentType
The MIME content type of the blob.
Declaration
public string ContentType { get; set; }
Property Value
String
|
Methods
Equals(Object)
Check if two BlobHttpHeaders instances are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
Object
obj
The instance to compare to. |
Returns
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
Int32
Hash code for the BlobHttpHeaders. |
ToString()
Creates a string representation of a BlobHttpHeaders.
Declaration
[System.ComponentModel.EditorBrowsable]
public override string ToString ();
Returns
String
|