Content-Range: HTTP entity-header
Return the range of bytes selected from a WebSphere MQ message in the Content-Range header in an HTTP response.
| Type | Description |
|---|---|
| HTTP header name | Content-Range |
| HTTP header type | Entity-header |
| Valid in HTTP request message | x-msg-require-headers |
| Returned value |
|
Description
- The Content-Range is only returned in the HTTP response when Content-Range is specified in a GET or DELETE request that contains an x-msg-range request header.
- If x-msg-range is specified on a GET or DELETE request,
the range of bytes specified in the Content-Range header are returned
in the response. For example, if
x-msg-range: 0-60is used in a request for a message containing100bytes, the content-range header holds the string0-60/100 - An x-msg-range request also returns the content range in the x-msg-range header in the HTTP response.