On 11 Jan 2010, at 21:43, Tobias Bocanegra wrote: > On Mon, Jan 11, 2010 at 10:42 PM, Marcel Reutegger <[email protected]> wrote: >> Hi, >> >> On Mon, Jan 11, 2010 at 19:01, Simon Gaeremynck <[email protected]> >> wrote: >>> If the result is bigger than a pre-defined OSGi property (ex: 200 resources) >>> it will send a 206 >>> partial content with the dump of 200 resources and will ignore the rest. >> >> I like the idea of sending only a partial response. however the HTTP >> spec seems to mandate a request that include a range header for such a >> response: >> >> "10.2.7 206 Partial Content >> The server has fulfilled the partial GET request for the resource. The >> request MUST have included a Range header field (section 14.35) >> indicating the desired range, [...]" > > which could also be used to send a followup request to fetch more data. > regards, toby
IIRC there is no requirement with the server to respond with the full range that was requested ? It can choose how much of the response to send, which is ideal. The only problem is that Range typically means range in bytes and Range in number of nodes would probably be an abuse. Ian
