feat(drivers/webdav): add support for 302 redirects (#1952)

* Remove the `OnlyProxy` restriction and obtain the redirected link to support 302

* Add `driver.Config` `PreferProxy` to recommend user to enable the proxy by default

---------

Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
This commit is contained in:
MadDogOwner
2026-01-11 15:15:42 +08:00
committed by GitHub
parent e192149480
commit c6bd437242
10 changed files with 95 additions and 14 deletions
+1
View File
@@ -35,6 +35,7 @@ var config = driver.Config{
Name: "123 Open",
DefaultRoot: "0",
LocalSort: true,
PreferProxy: true,
}
func init() {