6

As above, is byte serving chunked transfer possible in the HTTP standard?

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

2 Comments

You mean omit the Content-length header.
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.