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 2026/09/21 11:58:42 UTC

(opendal) branch main updated: refactor(services/webdav): deprecate enable_conditional_read (#8314)

This is an automated email from the ASF dual-hosted git repository.

Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new d2033d8282 refactor(services/webdav): deprecate enable_conditional_read (#8314)
d2033d8282 is described below

commit d2033d8282bbb93280d302df7ebfb46345ed3df4
Author: Yuang Gao <91...@users.noreply.github.com>
AuthorDate: Mon Sep 21 04:58:34 2026 -0700

    refactor(services/webdav): deprecate enable_conditional_read (#8314)
    
    * refactor(services/webdav): deprecate enable_conditional_read
    
    * test(bindings/go): honor capability overrides for conditional read
---
 .github/services/webdav/0_nginx/action.yml         |  3 +--
 .../webdav/nginx_with_empty_password/action.yml    |  3 +--
 .../services/webdav/nginx_with_password/action.yml |  3 +--
 .../services/webdav/nginx_with_redirect/action.yml |  3 +--
 .../OpenDAL/ServiceConfig/WebdavServiceConfig.cs   |  5 +++-
 bindings/go/tests/behavior_tests/read_test.go      |  8 +++---
 .../java/org/apache/opendal/ServiceConfig.java     | 13 +++------
 bindings/python/python/opendal/config.py           |  2 +-
 core/services/webdav/src/backend.rs                | 31 +++++++---------------
 core/services/webdav/src/config.rs                 | 19 ++++---------
 website/data/services.json                         | 18 ++++++++-----
 11 files changed, 42 insertions(+), 66 deletions(-)

diff --git a/.github/services/webdav/0_nginx/action.yml b/.github/services/webdav/0_nginx/action.yml
index 8b3c2cd863..b3733f3304 100644
--- a/.github/services/webdav/0_nginx/action.yml
+++ b/.github/services/webdav/0_nginx/action.yml
@@ -30,6 +30,5 @@ runs:
       run: |
         cat << EOF >> $GITHUB_ENV
         OPENDAL_WEBDAV_ENDPOINT=http://127.0.0.1:8080
-        OPENDAL_WEBDAV_ENABLE_CONDITIONAL_READ=false
-        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false
+        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false,read_with_if_match=false,read_with_if_none_match=false,read_with_if_modified_since=false,read_with_if_unmodified_since=false
         EOF
diff --git a/.github/services/webdav/nginx_with_empty_password/action.yml b/.github/services/webdav/nginx_with_empty_password/action.yml
index 1be1599e3d..7b9e6bf6a2 100644
--- a/.github/services/webdav/nginx_with_empty_password/action.yml
+++ b/.github/services/webdav/nginx_with_empty_password/action.yml
@@ -31,6 +31,5 @@ runs:
         cat << EOF >> $GITHUB_ENV
         OPENDAL_WEBDAV_ENDPOINT=http://127.0.0.1:8080
         OPENDAL_WEBDAV_USERNAME=foo
-        OPENDAL_WEBDAV_ENABLE_CONDITIONAL_READ=false
-        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false
+        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false,read_with_if_match=false,read_with_if_none_match=false,read_with_if_modified_since=false,read_with_if_unmodified_since=false
         EOF
diff --git a/.github/services/webdav/nginx_with_password/action.yml b/.github/services/webdav/nginx_with_password/action.yml
index 77d4affc11..7ee8d9d8a8 100644
--- a/.github/services/webdav/nginx_with_password/action.yml
+++ b/.github/services/webdav/nginx_with_password/action.yml
@@ -32,6 +32,5 @@ runs:
         OPENDAL_WEBDAV_ENDPOINT=http://127.0.0.1:8080
         OPENDAL_WEBDAV_USERNAME=bar
         OPENDAL_WEBDAV_PASSWORD=bar
-        OPENDAL_WEBDAV_ENABLE_CONDITIONAL_READ=false
-        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false
+        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false,read_with_if_match=false,read_with_if_none_match=false,read_with_if_modified_since=false,read_with_if_unmodified_since=false
         EOF
diff --git a/.github/services/webdav/nginx_with_redirect/action.yml b/.github/services/webdav/nginx_with_redirect/action.yml
index 579b5ce846..abd2606a8b 100644
--- a/.github/services/webdav/nginx_with_redirect/action.yml
+++ b/.github/services/webdav/nginx_with_redirect/action.yml
@@ -30,6 +30,5 @@ runs:
       run: |
         cat << EOF >> $GITHUB_ENV
         OPENDAL_WEBDAV_ENDPOINT=http://127.0.0.1:8081
-        OPENDAL_WEBDAV_ENABLE_CONDITIONAL_READ=false
-        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false
+        OPENDAL_TEST_CAPABILITY_OVERRIDES=write_with_user_metadata=false,read_with_if_match=false,read_with_if_none_match=false,read_with_if_modified_since=false,read_with_if_unmodified_since=false
         EOF
diff --git a/bindings/dotnet/OpenDAL/ServiceConfig/WebdavServiceConfig.cs b/bindings/dotnet/OpenDAL/ServiceConfig/WebdavServiceConfig.cs
index 4b95d81f24..262fd7b890 100644
--- a/bindings/dotnet/OpenDAL/ServiceConfig/WebdavServiceConfig.cs
+++ b/bindings/dotnet/OpenDAL/ServiceConfig/WebdavServiceConfig.cs
@@ -38,8 +38,9 @@ namespace OpenDAL.ServiceConfig
         /// </summary>
         public bool? DisableCreateDir { get; init; }
         /// <summary>
-        /// Enable conditional read support. When enabled (the default), OpenDAL forwards the RFC 7232 headers `If-Match`, `If-None-Match`, `If-Modified-Since` and `If-Unmodified-Since` to the server when callers provide them. Some WebDAV-compatible servers (e.g., nginx-dav) don't return ETags in PROPFIND or don't honor these headers on GET. Setting this to `false` drops the four `read_with_if_*` capabilities, so calls like `reader_with(path).if_match(...)` return `ErrorKind::Unsupported [...]
+        /// Deprecated: WebDAV conditional read capabilities are enabled by default.
         /// </summary>
+        [System.Obsolete("WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support.")]
         public bool? EnableConditionalRead { get; init; }
         /// <summary>
         /// Deprecated: WebDAV user metadata capability is enabled by default.
@@ -90,10 +91,12 @@ namespace OpenDAL.ServiceConfig
             {
                 map["disable_create_dir"] = Utilities.ToOptionString(DisableCreateDir);
             }
+#pragma warning disable CS0618
             if (EnableConditionalRead is not null)
             {
                 map["enable_conditional_read"] = Utilities.ToOptionString(EnableConditionalRead);
             }
+#pragma warning restore CS0618
 #pragma warning disable CS0618
             if (EnableUserMetadata is not null)
             {
diff --git a/bindings/go/tests/behavior_tests/read_test.go b/bindings/go/tests/behavior_tests/read_test.go
index f5b7b8f1fa..dfcde91be1 100644
--- a/bindings/go/tests/behavior_tests/read_test.go
+++ b/bindings/go/tests/behavior_tests/read_test.go
@@ -49,17 +49,17 @@ func testsRead(cap *opendal.Capability) []behaviorTest {
 		tests = append(tests, testIOCopy)
 		tests = append(tests, testReadWithWriteOptions)
 	}
-	if cap.ReadWithIfMatch() {
+	if isCapEnabled(cap.ReadWithIfMatch, "read_with_if_match") {
 		tests = append(tests, testReadWithIfMatch)
 		tests = append(tests, testReaderWithIfMatch)
 	}
-	if cap.ReadWithIfNoneMatch() {
+	if isCapEnabled(cap.ReadWithIfNoneMatch, "read_with_if_none_match") {
 		tests = append(tests, testReadWithIfNoneMatch)
 	}
-	if cap.ReadWithIfModifiedSince() {
+	if isCapEnabled(cap.ReadWithIfModifiedSince, "read_with_if_modified_since") {
 		tests = append(tests, testReadWithIfModifiedSince)
 	}
-	if cap.ReadWithIfUnmodifiedSince() {
+	if isCapEnabled(cap.ReadWithIfUnmodifiedSince, "read_with_if_unmodified_since") {
 		tests = append(tests, testReadWithIfUnmodifiedSince)
 	}
 	if cap.ReadWithVersion() {
diff --git a/bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java b/bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java
index c0f790da2e..652cbde11d 100644
--- a/bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java
+++ b/bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java
@@ -4001,16 +4001,9 @@ public interface ServiceConfig {
          */
         public final Boolean disableCreateDir;
         /**
-         * <p>Enable conditional read support.</p>
-         * <p>When enabled (the default), OpenDAL forwards the RFC 7232 headers
-         * <code>If-Match</code>, <code>If-None-Match</code>, <code>If-Modified-Since</code> and
-         * <code>If-Unmodified-Since</code> to the server when callers provide them.</p>
-         * <p>Some WebDAV-compatible servers (e.g., nginx-dav) don't return ETags
-         * in PROPFIND or don't honor these headers on GET. Setting this to
-         * <code>false</code> drops the four <code>read_with_if_*</code> capabilities, so calls like
-         * <code>reader_with(path).if_match(...)</code> return <code>ErrorKind::Unsupported</code>
-         * locally instead of being silently ignored by the server.</p>
-         * <p>Default: true</p>
+         * <p>Deprecated: WebDAV conditional read capabilities are enabled by default.</p>
+         *
+         * @deprecated WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support.
          */
         public final Boolean enableConditionalRead;
         /**
diff --git a/bindings/python/python/opendal/config.py b/bindings/python/python/opendal/config.py
index ead9ba2ccc..bfe1587c87 100644
--- a/bindings/python/python/opendal/config.py
+++ b/bindings/python/python/opendal/config.py
@@ -967,7 +967,7 @@ class WebdavConfig(TypedDict):
     disable_create_dir: NotRequired[bool]
     """Disable automatic parent directory creation before write operations.  By default, OpenDAL creates parent directories using MKCOL before writing files. This requires PROPFIND support to check directory existence.  Some WebDAV-compatible servers (e.g., bazel-remote) don't support PROPFIND or don't require explicit directory creation. Enable this option to skip the MKCOL calls and write files directly.  Default: false"""
     enable_conditional_read: NotRequired[bool]
-    """Enable conditional read support.  When enabled (the default), OpenDAL forwards the RFC 7232 headers `If-Match`, `If-None-Match`, `If-Modified-Since` and `If-Unmodified-Since` to the server when callers provide them.  Some WebDAV-compatible servers (e.g., nginx-dav) don't return ETags in PROPFIND or don't honor these headers on GET. Setting this to `false` drops the four `read_with_if_*` capabilities, so calls like `reader_with(path).if_match(...)` return `ErrorKind::Unsupported` l [...]
+    """Deprecated: WebDAV conditional read capabilities are enabled by default. [Deprecated since 0.60.0] WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support."""
     enable_user_metadata: NotRequired[bool]
     """Deprecated: WebDAV user metadata capability is enabled by default. [Deprecated since 0.57.0] WebDAV user metadata capability is enabled by default. Use CapabilityOverrideLayer to override write_with_user_metadata for endpoints without PROPPATCH support."""
     endpoint: NotRequired[str]
diff --git a/core/services/webdav/src/backend.rs b/core/services/webdav/src/backend.rs
index da07d18eba..1807aec5ec 100644
--- a/core/services/webdav/src/backend.rs
+++ b/core/services/webdav/src/backend.rs
@@ -154,21 +154,12 @@ impl WebdavBuilder {
         self
     }
 
-    /// Enable conditional read support.
-    ///
-    /// When enabled (the default), OpenDAL forwards the RFC 7232 headers
-    /// `If-Match`, `If-None-Match`, `If-Modified-Since` and
-    /// `If-Unmodified-Since` to the server when callers provide them.
-    ///
-    /// Some WebDAV-compatible servers (e.g., nginx-dav) don't return ETags
-    /// in PROPFIND or don't honor these headers on GET. Setting this to
-    /// `false` drops the four `read_with_if_*` capabilities, so calls like
-    /// `reader_with(path).if_match(...)` return `ErrorKind::Unsupported`
-    /// locally instead of being silently ignored by the server.
-    ///
-    /// Default: true
-    pub fn enable_conditional_read(mut self, enable: bool) -> Self {
-        self.config.enable_conditional_read = enable;
+    /// Deprecated: WebDAV conditional read capabilities are enabled by default.
+    #[deprecated(
+        since = "0.60.0",
+        note = "WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support."
+    )]
+    pub fn enable_conditional_read(self, _enable: bool) -> Self {
         self
     }
 }
@@ -211,8 +202,6 @@ impl Builder for WebdavBuilder {
             authorization = Some(format_authorization_by_bearer(token)?)
         }
 
-        let conditional_read = self.config.enable_conditional_read;
-
         let core = Arc::new(WebdavCore {
             info: ServiceInfo::new(WEBDAV_SCHEME, &root, ""),
             capability: Capability {
@@ -220,10 +209,10 @@ impl Builder for WebdavBuilder {
 
                 read: true,
                 read_with_suffix: true,
-                read_with_if_match: conditional_read,
-                read_with_if_none_match: conditional_read,
-                read_with_if_modified_since: conditional_read,
-                read_with_if_unmodified_since: conditional_read,
+                read_with_if_match: true,
+                read_with_if_none_match: true,
+                read_with_if_modified_since: true,
+                read_with_if_unmodified_since: true,
 
                 write: true,
                 write_can_empty: true,
diff --git a/core/services/webdav/src/config.rs b/core/services/webdav/src/config.rs
index af0a7422cc..9ebbdaaf2a 100644
--- a/core/services/webdav/src/config.rs
+++ b/core/services/webdav/src/config.rs
@@ -75,19 +75,11 @@ pub struct WebdavConfig {
     ///
     /// Default: `https://opendal.apache.org/ns`
     pub user_metadata_uri: Option<String>,
-    /// Enable conditional read support.
-    ///
-    /// When enabled (the default), OpenDAL forwards the RFC 7232 headers
-    /// `If-Match`, `If-None-Match`, `If-Modified-Since` and
-    /// `If-Unmodified-Since` to the server when callers provide them.
-    ///
-    /// Some WebDAV-compatible servers (e.g., nginx-dav) don't return ETags
-    /// in PROPFIND or don't honor these headers on GET. Setting this to
-    /// `false` drops the four `read_with_if_*` capabilities, so calls like
-    /// `reader_with(path).if_match(...)` return `ErrorKind::Unsupported`
-    /// locally instead of being silently ignored by the server.
-    ///
-    /// Default: true
+    /// Deprecated: WebDAV conditional read capabilities are enabled by default.
+    #[deprecated(
+        since = "0.60.0",
+        note = "WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support."
+    )]
     pub enable_conditional_read: bool,
 }
 
@@ -119,7 +111,6 @@ impl Debug for WebdavConfig {
             .field("disable_create_dir", &self.disable_create_dir)
             .field("user_metadata_prefix", &self.user_metadata_prefix)
             .field("user_metadata_uri", &self.user_metadata_uri)
-            .field("enable_conditional_read", &self.enable_conditional_read)
             .finish_non_exhaustive()
     }
 }
diff --git a/website/data/services.json b/website/data/services.json
index eea8127626..b6913dbf1f 100644
--- a/website/data/services.json
+++ b/website/data/services.json
@@ -5257,7 +5257,11 @@
           "type": "bool",
           "required": false,
           "group": "General",
-          "comments": "Enable conditional read support.\n\nWhen enabled (the default), OpenDAL forwards the RFC 7232 headers\n`If-Match`, `If-None-Match`, `If-Modified-Since` and\n`If-Unmodified-Since` to the server when callers provide them.\n\nSome WebDAV-compatible servers (e.g., nginx-dav) don't return ETags\nin PROPFIND or don't honor these headers on GET. Setting this to\n`false` drops the four `read_with_if_*` capabilities, so calls like\n`reader_with(path).if_match(...)` return ` [...]
+          "deprecated": {
+            "since": "0.60.0",
+            "note": "WebDAV conditional read capabilities are enabled by default. Use CapabilityOverrideLayer to override read_with_if_match, read_with_if_none_match, read_with_if_modified_since and read_with_if_unmodified_since for endpoints without ETag support."
+          },
+          "comments": "Deprecated: WebDAV conditional read capabilities are enabled by default."
         }
       ],
       "examples": [
@@ -5265,37 +5269,37 @@
           "binding": "rust",
           "language": "rust",
           "minimal": "use opendal::Operator;\n\nlet operator = Operator::via_iter(\"webdav\", [\n])?;",
-          "full": "use opendal::Operator;\n\nlet operator = Operator::via_iter(\"webdav\", [\n    // endpoint of this backend\n    // (\"endpoint\".to_string(), \"...\".to_string()),\n\n    // username of this backend\n    // (\"username\".to_string(), \"...\".to_string()),\n\n    // password of this backend\n    // (\"password\".to_string(), \"...\".to_string()),\n\n    // token of this backend\n    // (\"token\".to_string(), \"...\".to_string()),\n\n    // root of this backend\n    //  [...]
+          "full": "use opendal::Operator;\n\nlet operator = Operator::via_iter(\"webdav\", [\n    // endpoint of this backend\n    // (\"endpoint\".to_string(), \"...\".to_string()),\n\n    // username of this backend\n    // (\"username\".to_string(), \"...\".to_string()),\n\n    // password of this backend\n    // (\"password\".to_string(), \"...\".to_string()),\n\n    // token of this backend\n    // (\"token\".to_string(), \"...\".to_string()),\n\n    // root of this backend\n    //  [...]
         },
         {
           "binding": "java",
           "language": "java",
           "minimal": "import java.util.HashMap;\nimport java.util.Map;\nimport org.apache.opendal.Operator;\n\nMap<String, String> config = new HashMap<>();\nOperator operator = Operator.of(\"webdav\", config);",
-          "full": "import java.util.HashMap;\nimport java.util.Map;\nimport org.apache.opendal.Operator;\n\nMap<String, String> config = new HashMap<>();\n// endpoint of this backend\n// config.put(\"endpoint\", \"...\");\n\n// username of this backend\n// config.put(\"username\", \"...\");\n\n// password of this backend\n// config.put(\"password\", \"...\");\n\n// token of this backend\n// config.put(\"token\", \"...\");\n\n// root of this backend\n// config.put(\"root\", \"...\");\n\n/ [...]
+          "full": "import java.util.HashMap;\nimport java.util.Map;\nimport org.apache.opendal.Operator;\n\nMap<String, String> config = new HashMap<>();\n// endpoint of this backend\n// config.put(\"endpoint\", \"...\");\n\n// username of this backend\n// config.put(\"username\", \"...\");\n\n// password of this backend\n// config.put(\"password\", \"...\");\n\n// token of this backend\n// config.put(\"token\", \"...\");\n\n// root of this backend\n// config.put(\"root\", \"...\");\n\n/ [...]
         },
         {
           "binding": "python",
           "language": "python",
           "minimal": "import opendal\n\noperator = opendal.Operator(\n    \"webdav\",\n)",
-          "full": "import opendal\n\noperator = opendal.Operator(\n    \"webdav\",\n    # endpoint of this backend\n    # endpoint=\"...\",\n\n    # username of this backend\n    # username=\"...\",\n\n    # password of this backend\n    # password=\"...\",\n\n    # token of this backend\n    # token=\"...\",\n\n    # root of this backend\n    # root=\"...\",\n\n    # Disable automatic parent directory creation before write operations.\n    #\n    # By default, OpenDAL creates parent dir [...]
+          "full": "import opendal\n\noperator = opendal.Operator(\n    \"webdav\",\n    # endpoint of this backend\n    # endpoint=\"...\",\n\n    # username of this backend\n    # username=\"...\",\n\n    # password of this backend\n    # password=\"...\",\n\n    # token of this backend\n    # token=\"...\",\n\n    # root of this backend\n    # root=\"...\",\n\n    # Disable automatic parent directory creation before write operations.\n    #\n    # By default, OpenDAL creates parent dir [...]
         },
         {
           "binding": "nodejs",
           "language": "javascript",
           "minimal": "import { Operator } from \"opendal\";\n\nconst operator = new Operator(\"webdav\", {\n});",
-          "full": "import { Operator } from \"opendal\";\n\nconst operator = new Operator(\"webdav\", {\n  // endpoint of this backend\n  // endpoint: \"...\",\n\n  // username of this backend\n  // username: \"...\",\n\n  // password of this backend\n  // password: \"...\",\n\n  // token of this backend\n  // token: \"...\",\n\n  // root of this backend\n  // root: \"...\",\n\n  // Disable automatic parent directory creation before write operations.\n  //\n  // By default, OpenDAL creat [...]
+          "full": "import { Operator } from \"opendal\";\n\nconst operator = new Operator(\"webdav\", {\n  // endpoint of this backend\n  // endpoint: \"...\",\n\n  // username of this backend\n  // username: \"...\",\n\n  // password of this backend\n  // password: \"...\",\n\n  // token of this backend\n  // token: \"...\",\n\n  // root of this backend\n  // root: \"...\",\n\n  // Disable automatic parent directory creation before write operations.\n  //\n  // By default, OpenDAL creat [...]
         },
         {
           "binding": "ruby",
           "language": "ruby",
           "minimal": "require \"opendal\"\n\noperator = OpenDal::Operator.new(\"webdav\", {\n})",
-          "full": "require \"opendal\"\n\noperator = OpenDal::Operator.new(\"webdav\", {\n  # endpoint of this backend\n  # \"endpoint\" => \"...\",\n\n  # username of this backend\n  # \"username\" => \"...\",\n\n  # password of this backend\n  # \"password\" => \"...\",\n\n  # token of this backend\n  # \"token\" => \"...\",\n\n  # root of this backend\n  # \"root\" => \"...\",\n\n  # Disable automatic parent directory creation before write operations.\n  #\n  # By default, OpenDAL cre [...]
+          "full": "require \"opendal\"\n\noperator = OpenDal::Operator.new(\"webdav\", {\n  # endpoint of this backend\n  # \"endpoint\" => \"...\",\n\n  # username of this backend\n  # \"username\" => \"...\",\n\n  # password of this backend\n  # \"password\" => \"...\",\n\n  # token of this backend\n  # \"token\" => \"...\",\n\n  # root of this backend\n  # \"root\" => \"...\",\n\n  # Disable automatic parent directory creation before write operations.\n  #\n  # By default, OpenDAL cre [...]
         },
         {
           "binding": "go",
           "language": "go",
           "minimal": "import (\n\t\"github.com/apache/opendal-go-services/webdav\"\n\topendal \"github.com/apache/opendal/bindings/go\"\n)\n\noperator, err := opendal.NewOperator(webdav.Scheme, opendal.OperatorOptions{\n})",
-          "full": "import (\n\t\"github.com/apache/opendal-go-services/webdav\"\n\topendal \"github.com/apache/opendal/bindings/go\"\n)\n\noperator, err := opendal.NewOperator(webdav.Scheme, opendal.OperatorOptions{\n\t// endpoint of this backend\n\t// \"endpoint\": \"...\",\n\n\t// username of this backend\n\t// \"username\": \"...\",\n\n\t// password of this backend\n\t// \"password\": \"...\",\n\n\t// token of this backend\n\t// \"token\": \"...\",\n\n\t// root of this backend\n\t// \ [...]
+          "full": "import (\n\t\"github.com/apache/opendal-go-services/webdav\"\n\topendal \"github.com/apache/opendal/bindings/go\"\n)\n\noperator, err := opendal.NewOperator(webdav.Scheme, opendal.OperatorOptions{\n\t// endpoint of this backend\n\t// \"endpoint\": \"...\",\n\n\t// username of this backend\n\t// \"username\": \"...\",\n\n\t// password of this backend\n\t// \"password\": \"...\",\n\n\t// token of this backend\n\t// \"token\": \"...\",\n\n\t// root of this backend\n\t// \ [...]
         }
       ]
     },