Table of Contents

Class ShareFileHttpHeaders

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Standard HTTP properties supported by the files. 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 service resources.

public class ShareFileHttpHeaders
Inheritance
ShareFileHttpHeaders
Inherited Members

Constructors

ShareFileHttpHeaders()

public ShareFileHttpHeaders()

Properties

CacheControl

Specify directives for caching mechanisms.

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 file name specified.

public string ContentDisposition { get; set; }

Property Value

string

ContentEncoding

Specifies which content encodings have been applied to the file. This value is returned to the client when the Get File operation is performed on the file resource. The client can use this value when returned to decode the file content.

public string[] ContentEncoding { get; set; }

Property Value

string[]

ContentHash

An MD5 hash of the file content. This hash is used to verify the integrity of the file content 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).

public byte[] ContentHash { get; set; }

Property Value

byte[]

ContentLanguage

Specifies the natural languages used by this resource.

public string[] ContentLanguage { get; set; }

Property Value

string[]

ContentType

The MIME content type of the file.

public string ContentType { get; set; }

Property Value

string