Time Range units

From Media Fragments Working Group Wiki
Revision as of 12:35, 19 August 2009 by Pjgenste (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Use with existing HTTP headers


A User Agent specifies a time range in an HTTP request header:

 GET /video.ogv HTTP/1.1
 Range: time=00:10-00:20


A server responds with the specified time:

 HTTP 206 Partial Content
 Content-Range: time=00:10-00:20/4500

Interaction with HTTP Range Refer


A User-Agent specifies that it can accept a Range-Refer response, using time Range units.

 GET /video.ogv HTTP/1.1
 Range: time=00:10-00:20
 Accept-Range-Refer: time