Xuanwo commented on issue #1873:
URL:
https://github.com/apache/incubator-opendal/issues/1873#issuecomment-1501161358
Seems there isn't an easy fix for this issue. `ipmfs` will use `trunked`
transfer encoding for `get`:
```shell
[2023-04-09T15:53:12Z DEBUG opendal::services::ipmfs::backend] headers:
{"access-control-allow-headers": "X-Stream-Output, X-Chunked-Output,
X-Content-Length", "access-control-expose-headers": "X-Stream-Output,
X-Chunked-Output, X-Content-Length", "content-type": "text/plain", "server":
"kubo/0.19.1", "trailer": "X-Stream-Error", "vary": "Origin",
"x-stream-output": "1", "date": "Sun, 09 Apr 2023 15:53:12 GMT",
"transfer-encoding": "chunked"}
```
Perhaps we should consider allowing the `read` function to not return the
accurate content length.
---
Please leave this issue open. There is no real users for this service as far
as I know, so it's not in a hurry.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]