Response headers

Storage Advisor Embedded Guide

Version
88-06-0x
Audience
anonymous
Part Number
MK-97HM85022-12

The response headers are response messages from the REST API server to REST API clients.

The following table describes the response headers returned by the REST API server.

Header

Description

Content-Type

Indicates the media type of the response data.

Default: application/json;charset=UTF-8

Content-Length

Indicates the size of the response data.

If the size of the response data is large, instead of this header, Transfer-Encoding: chunked is returned, indicating that the response data has been divided and then transferred.

Transfer-Encoding

Indicates the encoding format used when the response data was transferred.

When a large amount of response data is divided and then transferred, chunked is returned.

Retry-After

Indicates the recommended wait time (in seconds) before the request can be retried.

When the HTTP status code 503 is returned, this header is sometimes set.

WWW-Authenticate

Indicates that authentication is required when the HTTP status code 401 is returned.

Default:
  • Authentication by using a user ID and password

    Basic realm="Block storage"

  • Authentication by using a session

    Session realm="Block storage"