-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdrive service can't work under wasm target #3810
Comments
The root cause is here When the request happens in the browser, the browser will add a default encoding header cc @Xuanwo |
nice catch Is this issue just for gdrive service only? (since it isn't report at s3 example) |
Nice catch! We did't hit this since we use no_gzip on non-wasm32 target. But reqwest didn't provide this on wasm32 target. |
Hi, @Zheaoli, would you like to try add |
Unfortunately, It can't be done in the Brower. The FYI : |
It will be reported from S3 user in the future. The S3 can open the gzip setting by manually |
It does not work - - |
A possible way is to implement |
The most common algorism used by content encoding
Maybe we need to support all three algorithm or raise error when the encoding is not supported yet |
It's better to handle in the http client (a.k.a reqwest). Let's bring the discussion to upstream instead. |
I am test gdrive over wasm, when I work with the above code, it failed with
but that code works well if I run it in rust side, am I missing something?
originally post at #3808 (comment)
The text was updated successfully, but these errors were encountered: