File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -205,16 +205,17 @@ The following additional values are supported:
205205A Gateway MUST augment the returned ` Etag ` based on the passed ` entity-bytes ` .
206206
207207A Gateway SHOULD return an HTTP 400 Bad Request error when the requested range
208- cannot be parsed as valid offset positions.
208+ is entirely outside of the entity's byte range and the Gateway is able to determine this
209+ upfront.
209210
210211In more nuanced error scenarios, a Gateway MUST return a valid CAR response
211212that includes enough blocks for the client to understand why the requested
212213` entity-bytes ` was incorrect or why only a part of the requested byte range was
213214returned:
214215
215216- If the requested ` entity-bytes ` resolves to a range that partially falls
216- outside the entity's byte range, the response MUST include the subset of
217- blocks within the entity's bytes.
217+ outside the entity's byte range (before or after),
218+ the response MUST include the subset of blocks within the entity's bytes.
218219 - This allows clients to request valid ranges of the entity without needing
219220 to know its total size beforehand, and it does not require the Gateway to
220221 buffer the entire entity before returning the response.
You can’t perform that action at this time.
0 commit comments