You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/05/03 05:15:11 UTC
[GitHub] [incubator-opendal] Xuanwo commented on issue #2199: servcices/supabase: Tracking issues of not passed test cases
Xuanwo commented on issue #2199:
URL: https://github.com/apache/incubator-opendal/issues/2199#issuecomment-1532463707
> Also, I found that many tests require `read_with_range` capabilities, but the Supabase seems do not support the http RANGE header.
Supabase seems handled `range` header already:
https://github.com/supabase/storage-api/blob/1794d04ab0e7259d9058293e257f442015252ec3/src/storage/renderer/asset.ts#L14-L20
```rust
getAsset(request: FastifyRequest, options: RenderOptions) {
return this.backend.getObject(options.bucket, options.key, options.version, {
ifModifiedSince: request.headers['if-modified-since'],
ifNoneMatch: request.headers['if-none-match'],
range: request.headers.range,
})
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org