0

I am implementing a module that supports 206 partial requests. After reading RFC rfc2616, i noticed that when receiving a multi-range request, overlapping ranges such as: "a-b, a-d" are not allowed.

My question is:

What happens with single-range request and overlapping bytes?

 Request #1:   a-b
 Request #2:   a-d

Do I need to ignore bytes a-b in the second request?

OR

Do I need to overwrite the bytes?

Thanks

1 Answer 1

1

Overwrite the bytes.

Responses does not depend on any previous request semantically because HTTP is a stateless protocol.

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

Comments

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.