• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Swift)
  4. Operations on Objects
  5. Copy Object
  6. Response

Response

Response Headers

The following table describes response header parameters:

Header

Type

Description

Content-Length

String

(Required)

If the operation succeeds, this value is 0.

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

Last-Modified

String

(Required)

Date and time that the object was created or the last time that the metadata was changed.

X-Copied-From-Last-Modified

String

(Optional)

For a copied object, it shows the last modified date and time.

X-Copied-From

String

(Optional)

For a copied object, it shows the container name and object name in the form of {container}/{object}.

X-Copied-From-Account

String

(Optional)

Account ID of the user who owns the object to be copied.

Etag

String

(Required)

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

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

For dynamic large objects, the value is the MD5 checksum of the manifest file.

X-Object-Meta-name

String

(Optional)

The custom object metadata item.

{name} is the name of the metadata item.

Content-Type

String

(Required)

MIME type of the object.

Date

String

(Required)

Transaction date and time.

X-Trans-Id

Uuid

(Required)

Unique transaction identifier.