As above, is byte serving chunked transfer possible in the HTTP standard?
1 Answer
From RFC2616, Transfer-Encoding is a property of the message, not the entity. Content-Range is an entity-header. So in principle they can be used together, unless there exists some corner case where the two conflict.
Here is how it is supposed to happen: use asterisk "*" as the instance-length. Omit the content-length header and send Transfer-Encoding: chunked.
2 Comments
user207421
You mean omit the Content-length header.
npnmodp
From a server point of view, it should omit Content-Length header when sending "Transfer-Encoding: chunked". From a client point of view it can only ignore the Content-Length header in case it is received with a Transfer-Encoding: chunked.