Response

Response Headers

The following table describes the response headers:

Table 1 Response header parameters

Header

Type

Description

Accept-Ranges

String

(Required)

Type of ranges that the object accepts.

X-Object-Meta-name

String

(Required)

Custom object metadata item, where {name} is the name of the metadata item.

X-Timestamp

Datetime

(Required)

Object creation time and date, in UNIX Epoch timestamp format.

ETag

String

(Required)

For ordinary objects, this value is the MD5 checksum of the object content.

For manifest objects, this value is the MD5 checksum of the concatenated string of MD5 checksums for each of the segments in the manifest.

Content-Encoding

String

(Optional)

Code used when an object is downloaded through a browser.

Content-Disposition

String

(Optional)

When an object is downloaded through a browser, the default object name is newname.

X-Object-Manifest

String

(Optional)

This is the identifier of a dynamic large object. The value is the container and object name prefix of the segment objects in the form of container/prefix.

X-Static-Large-Object

String

(Optional)

Identifier of a large static object.

Content-Length

String

(Required)

If the operation succeeds, the value is the content length of the obtained object.

If the operation fails, this value is the length of the error text in the response body.

Content-Type

String

(Required)

MIME type of the object.

Date

Datetime

(Required)

Transaction date and time.

X-Trans-Id

Uuid

(Required)

A unique transaction identifier.

Note

If the MIME type of the object in the object upload is not in XXX/XXX format, OBS (compatible with OpenStack Swift) uses the default type application/octet-stream. OpenStack Swift is able to return Content-Type in non-XXX/XXX format.