Xuanwo commented on issue #3810: URL: https://github.com/apache/incubator-opendal/issues/3810#issuecomment-1868659276
> When the request happens in the browser, the browser will add a default encoding header `accept-encoding: gzip` which means that the server needs the compressed data. So It would cause an error. The origin data is 243 long and 188 long after compress Nice catch! We did't hit this since we use [no_gzip](https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.no_gzip) on non-wasm32 target. But reqwest didn't provide this on wasm32 target. -- 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]
