REST & WOA Patterns > HTTP Headers > Accept-Ranges

Accept-Ranges

From $1

Table of contents
No headers

The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a resource:

          Accept-Ranges     = "Accept-Ranges" ":" acceptable-ranges
          acceptable-ranges = 1#range-unit | "none"

Origin servers that accept byte-range requests MAY send

          Accept-Ranges: bytes

but are not required to do so. Clients MAY generate byte-range requests without having received this header for the resource involved. Range units are defined in section 3.12.

Servers that do not accept any kind of range request for a resource MAY send

          Accept-Ranges: none

to advise the client not to attempt a range request.

Tags:
 
Images (0)
 
Comments (0)
You must login to post a comment.