Storlets should return 206 instead of 200 for Range request
Bug #1534455 reported by
Takashi Kajinami
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
storlets |
Fix Released
|
Undecided
|
Takashi Kajinami |
Bug Description
When we request getting range of an object with storlet execution, storlet_middleware returns 200 OK.
However, based on RFC we should return 206 (or 412) for range request.
Changed in storlets: | |
status: | New → In Progress |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Changed in storlets: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
RFC 7233 for range requests /tools. ietf.org/ html/rfc7233
https:/
In the end of 3.1, it says the following thing
If all of the preconditions are true, the server supports the Range header field for the target resource, and the specified range(s) are valid and satisfiable (as defined in Section 2.1), the server SHOULD send a 206 (Partial Content) response with a payload containing one or more partial representations that correspond to the satisfiable ranges requested, as defined in Section 4.