Module: Azure::Storage::HeaderConstants

Defined in:
lib/azure/storage/core/constants.rb

Overview

Defines constants for use with HTTP headers.

Constant Summary collapse

ACCEPT_RANGES =

The accept ranges header.

'accept_ranges'
CONTENT_TRANSFER_ENCODING =

The content transfer encoding header.

'content-transfer-encoding'
TRANSFER_ENCODING =

The transfer encoding header.

'transfer-encoding'
SERVER =

The server header.

'server'
LOCATION =

The location header.

'location'
LAST_MODIFIED =

The Last-Modified header

'Last-Modified'
DATA_SERVICE_VERSION =

The data service version.

'dataserviceversion'
MAX_DATA_SERVICE_VERSION =

The maximum data service version.

'maxdataserviceversion'
PREFIX_FOR_STORAGE =

The master Windows Azure Storage header prefix.

'x-ms-'
CLIENT_REQUEST_ID =

The client request Id header.

'x-ms-client-request-id'
APPROXIMATE_MESSAGES_COUNT =

The header that specifies the approximate message count of a queue.

'x-ms-approximate-messages-count'
AUTHORIZATION =

The Authorization header.

'authorization'
BLOB_PUBLIC_ACCESS =

The header that specifies public access to blobs.

'x-ms-blob-public-access'
BLOB_TYPE =

The header for the blob type.

'x-ms-blob-type'
TYPE =

The header for the type.

'x-ms-type'
BLOCK_BLOB =

Specifies the block blob type.

'blockblob'
CACHE_CONTROL =

The CacheControl header.

'cache-control'
BLOB_CACHE_CONTROL =

The header that specifies blob caching control.

'x-ms-blob-cache-control'
FILE_CACHE_CONTROL =

The header that specifies caching control.

'x-ms-cache-control'
COPY_STATUS =

The copy status.

'x-ms-copy-status'
COPY_COMPLETION_TIME =

The copy completion time

'x-ms-copy-completion-time'
COPY_STATUS_DESCRIPTION =

The copy status message

'x-ms-copy-status-description'
COPY_ID =

The copy identifier.

'x-ms-copy-id'
COPY_PROGRESS =

Progress of any copy operation

'x-ms-copy-progress'
COPY_ACTION =

The copy action.

'x-ms-copy-action'
CONTENT_ID =

The ContentID header.

'content-id'
CONTENT_ENCODING =

The ContentEncoding header.

'content-encoding'
BLOB_CONTENT_ENCODING =

The header that specifies blob content encoding.

'x-ms-blob-content-encoding'
FILE_CONTENT_ENCODING =

The header that specifies content encoding.

'x-ms-content-encoding'
CONTENT_LANGUAGE =

The ContentLangauge header.

'content-language'
BLOB_CONTENT_LANGUAGE =

The header that specifies blob content language.

'x-ms-blob-content-language'
FILE_CONTENT_LANGUAGE =

The header that specifies content language.

'x-ms-content-language'
CONTENT_LENGTH =

The ContentLength header.

'content-length'
BLOB_CONTENT_LENGTH =

The header that specifies blob content length.

'x-ms-blob-content-length'
FILE_CONTENT_LENGTH =

The header that specifies content length.

'x-ms-content-length'
CONTENT_DISPOSITION =

The ContentDisposition header.

'content-disposition'
BLOB_CONTENT_DISPOSITION =

The header that specifies blob content disposition.

'x-ms-blob-content-disposition'
FILE_CONTENT_DISPOSITION =

The header that specifies content disposition.

'x-ms-content-disposition'
CONTENT_MD5 =

The ContentMD5 header.

'content-md5'
BLOB_CONTENT_MD5 =

The header that specifies blob content MD5.

'x-ms-blob-content-md5'
FILE_CONTENT_MD5 =

The header that specifies content MD5.

'x-ms-content-md5'
CONTENT_RANGE =

The ContentRange header.

'cache-range'
CONTENT_TYPE =

The ContentType header.

'content-type'
BLOB_CONTENT_TYPE =

The header that specifies blob content type.

'x-ms-blob-content-type'
FILE_CONTENT_TYPE =

The header that specifies content type.

'x-ms-content-type'
COPY_SOURCE =

The header for copy source.

'x-ms-copy-source'
DATE =

The header that specifies the date.

'date'
MS_DATE =

The header that specifies the date.

'x-ms-date'
DELETE_SNAPSHOT =

The header to delete snapshots.

'x-ms-delete-snapshots'
ETAG =

The ETag header.

'etag'
IF_MATCH =

The IfMatch header.

'if-match'
IF_MODIFIED_SINCE =

The IfModifiedSince header.

'if-modified-since'
IF_NONE_MATCH =

The IfNoneMatch header.

'if-none-match'
IF_UNMODIFIED_SINCE =

The IfUnmodifiedSince header.

'if-unmodified-since'
INCLUDE_SNAPSHOTS_VALUE =

Specifies snapshots are to be included.

'include'
JSON_CONTENT_TYPE_VALUE =

Specifies that the content-type is JSON.

'application/json;'
LEASE_ID =

The header that specifies lease ID.

'x-ms-lease-id'
LEASE_BREAK_PERIOD =

The header that specifies the lease break period.

'x-ms-lease-break-period'
PROPOSED_LEASE_ID =

The header that specifies the proposed lease identifier.

'x-ms-proposed-lease-id'
LEASE_DURATION =

The header that specifies the lease duration.

'x-ms-lease-duration'
SOURCE_LEASE_ID =

The header that specifies the source lease ID.

'x-ms-source-lease-id'
LEASE_TIME =

The header that specifies lease time.

'x-ms-lease-time'
LEASE_STATUS =

The header that specifies lease status.

'x-ms-lease-status'
LEASE_STATE =

The header that specifies lease state.

'x-ms-lease-state'
PAGE_BLOB =

Specifies the page blob type.

'PageBlob'
PAGE_WRITE =

The header that specifies page write mode.

'x-ms-page-write'
FILE_WRITE =

The header that specifies file range write mode.

'x-ms-write'
PREFER =

The header that specifies whether the response should include the inserted entity.

'Prefer'
PREFER_CONTENT =

The header value which specifies that the response should include the inserted entity.

'return-content'
PREFER_NO_CONTENT =

The header value which specifies that the response should not include the inserted entity.

'return-no-content'
PREFIX_FOR_STORAGE_METADATA =

The header prefix for metadata.

'x-ms-meta-'
PREFIX_FOR_STORAGE_PROPERTIES =

The header prefix for properties.

'x-ms-prop-'
RANGE =

The Range header.

'Range'
RANGE_GET_CONTENT_MD5 =

The header that specifies if the request will populate the ContentMD5 header for range gets.

'x-ms-range-get-content-md5'
RANGE_HEADER_FORMAT =

The format string for specifying ranges.

'bytes:%d-%d'
REQUEST_ID =

The header that indicates the request ID.

'x-ms-request-id'
SEQUENCE_NUMBER =

The header for specifying the sequence number.

'x-ms-blob-sequence-number'
SEQUENCE_NUMBER_EQUAL =

The header for specifying the If-Sequence-Number-EQ condition.

'x-ms-if-sequence-number-eq'
SEQUENCE_NUMBER_LESS_THAN =

The header for specifying the If-Sequence-Number-LT condition.

'x-ms-if-sequence-number-lt'
SEQUENCE_NUMBER_LESS_THAN_OR_EQUAL =

The header for specifying the If-Sequence-Number-LE condition.

'x-ms-if-sequence-number-le'
SEQUENCE_NUMBER_ACTION =

The header that specifies sequence number action.

'x-ms-sequence-number-action'
SIZE =

The header for the blob content length.

'x-ms-blob-content-length'
SNAPSHOT =

The header for snapshots.

'x-ms-snapshot'
SNAPSHOTS_ONLY_VALUE =

Specifies only snapshots are to be included.

'only'
SOURCE_IF_MATCH =

The header for the If-Match condition.

'x-ms-source-if-match'
SOURCE_IF_MODIFIED_SINCE =

The header for the If-Modified-Since condition.

'x-ms-source-if-modified-since'
SOURCE_IF_NONE_MATCH =

The header for the If-None-Match condition.

'x-ms-source-if-none-match'
SOURCE_IF_UNMODIFIED_SINCE =

The header for the If-Unmodified-Since condition.

'x-ms-source-if-unmodified-since'
STORAGE_RANGE =

The header for data ranges.

'x-ms-range'
STORAGE_VERSION =

The header for storage version.

'x-ms-version'
TARGET_STORAGE_VERSION =

The current storage version header value.

'2015-02-21'
USER_AGENT =

The UserAgent header.

'user-agent'
POP_RECEIPT =

The pop receipt header.

'x-ms-popreceipt'
TIME_NEXT_VISIBLE =

The time next visibile header.

'x-ms-time-next-visible'
APPROXIMATE_MESSAGE_COUNT =

The approximate message counter header.

'x-ms-approximate-message-count'
LEASE_ACTION =

The lease action header.

'x-ms-lease-action'
ACCEPT =

The accept header.

'accept'
ACCEPT_CHARSET =

The accept charset header.

'Accept-Charset'
HOST =

The host header.

'host'
CORRELATION_ID =

The correlation identifier header.

'x-ms-correlation-id'
GROUP_ID =

The group identifier header.

'x-ms-group-id'
SHARE_QUOTA =

The share quota header.

'x-ms-share-quota'
BLOB_CONDITION_MAX_SIZE =

The max blob size header.

'x-ms-blob-condition-maxsize'
BLOB_CONDITION_APPEND_POSITION =

The append blob position header.

'x-ms-blob-condition-appendpos'
BLOB_APPEND_OFFSET =

The append blob append offset header.

'x-ms-blob-append-offset'
BLOB_COMMITTED_BLOCK_COUNT =

The append blob committed block header.

'x-ms-blob-committed-block-count'