Module: Azure::Storage::Blob::Default

Defined in:
lib/azure/storage/blob/default.rb

Constant Summary collapse

STG_VERSION =

Default REST service (STG) version number

"2018-11-09"
DEFAULT_PARALLEL_OPERATION_THREAD_COUNT =

The number of default concurrent requests for parallel operation.

1
KB =

Constant representing a kilobyte (Non-SI version).

1024
MB =

Constant representing a megabyte (Non-SI version).

1024 * 1024
GB =

Constant representing a gigabyte (Non-SI version).

1024 * 1024 * 1024
HTTP =

Specifies HTTP.

"http"
HTTPS =

Specifies HTTPS.

"https"
DEFAULT_HTTP_PORT =

Default HTTP port.

80
DEFAULT_HTTPS_PORT =

Default HTTPS port.

443
XML_METADATA_MARKER =

Marker for atom metadata.

"$"
XML_VALUE_MARKER =

Marker for atom value.

"_"
CONTENT_TYPE_VALUE =

Default value for Content-Type if request has body.

"application/octet-stream"
USER_AGENT =

Default User Agent header string

"Azure-Storage/#{Azure::Storage::Blob::Version.to_uas}-#{Azure::Storage::Common::Version.to_uas} (Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}; #{Azure::Storage::Common::Default.os})".freeze