File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,16 +155,16 @@ The following additional values are supported:
155155A Gateway MUST augment the returned ` Etag ` based on the passed ` entity-bytes ` .
156156
157157A Gateway SHOULD return an HTTP 400 Bad Request error when the requested range
158- cannot be parsed as valid offset positions.
158+ is outside of valid offset positions in full, and the gateway knows that upfront .
159159
160160In more nuanced error scenarios, a Gateway MUST return a valid CAR response
161161that includes enough blocks for the client to understand why the requested
162162` entity-bytes ` was incorrect or why only a part of the requested byte range was
163163returned:
164164
165165- If the requested ` entity-bytes ` resolves to a range that partially falls
166- outside the entity's byte range, the response MUST include the subset of
167- blocks within the entity's bytes.
166+ outside the entity's byte range (before or after),
167+ the response MUST include the subset of blocks within the entity's bytes.
168168 - This allows clients to request valid ranges of the entity without needing
169169 to know its total size beforehand, and it does not require the Gateway to
170170 buffer the entire entity before returning the response.
You can’t perform that action at this time.
0 commit comments