2.2.4 DOWNLOAD-REQUEST
To download data from a server, the client sends a DOWNLOAD-REQUEST, which is encoded as an HTTP GET request, as specified in [RFC2616] section 9.3. The request specifies the record ID and the requested range(s) within the record.
The URL MUST be specified as follows:
-
"/BITS-peer-caching/%7B" record-ID "%7D"
where record-ID is the GUID ID of the record being requested, as returned in the /SearchResults/CacheRecord/Id element of a DISCOVERY-RESPONSE.
A client MAY request a fraction of the record data by including a Content-Range header, as specified in [RFC2616] section 14.16.<11> If so, the requested ranges apply to the data in the record, not to the original URL data. For example, if a record contains bytes 100 to 199 of the URL, "Content-Range: 0-1 / 100" refers to bytes 100 and 101 of the original URL.