This topic has not yet been rated - Rate this topic

2.2.1.3 Content-Range

The Content-Range header is specified in [RFC2068] and extended here. The byte-content-range-spec rule is specified in [RFC2068].

Content-Range = "Content-Range" ":" content-range-spec

content-range-spec      = byte-content-range-spec / row-content-range-spec

row-content-range-spec = row-range-unit row-range-list [";" "total=" total-rows] / "total=" total-rows

row-range-list = row-range ["," row-range-list]

row-range = row-range-spec / suffix-row-range-spec

row-range-spec = first-row-num "-" [last-row-num]

suffix-row-range-spec = "-" suffix-length

first-row-num  = 1*DIGIT
last-row-num   = 1*DIGIT
suffix-length = 1*DIGIT
total-rows = 1*DIGIT / "*"
row-range-unit = "rows"

Examples:

Content-Range: rows 0-5; total=200
Content-Range: rows 0-5, 7-10; total=*
Content-Range: rows 0-50; total=51
Content-Range: total=0
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.