You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/04/08 05:58:48 UTC
(opendal) branch fix-gdrive-oauth created (now 3af344d08c)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch fix-gdrive-oauth
in repository https://gitbox.apache.org/repos/asf/opendal.git
at 3af344d08c fix(core/services/gdrive): Fix gdrive test failed for refresh token
This branch includes the following new commits:
new 3af344d08c fix(core/services/gdrive): Fix gdrive test failed for refresh token
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: fix(core/services/gdrive): Fix gdrive test failed for refresh token
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch fix-gdrive-oauth
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 3af344d08cfd309c0181914a635e3e65f86ab03a
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Apr 8 13:58:22 2024 +0800
fix(core/services/gdrive): Fix gdrive test failed for refresh token
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/src/services/gdrive/core.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/services/gdrive/core.rs b/core/src/services/gdrive/core.rs
index 96bda1254a..e13b48b88e 100644
--- a/core/src/services/gdrive/core.rs
+++ b/core/src/services/gdrive/core.rs
@@ -303,7 +303,7 @@ impl GdriveSigner {
);
{
- let req = Request::post(url)
+ let req = Request::post(url).header(header::CONTENT_LENGTH, 0)
.body(AsyncBody::Empty)
.map_err(new_request_build_error)?;