mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 23:16:54 +03:00
[GH-ISSUE #707] webdav 协议与 iris 播放器不兼容 #5235
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EdenHell on GitHub (May 19, 2026).
Original GitHub issue: https://github.com/sigoden/dufs/issues/707
Problem
windows 某网盘播放器 iris 播放器 不能使用 dufs 作为后端存储 (webdav 协议)。
不过 kodi 能使用 dufs 作为后端,可一定程度排除服务端配置问题
Configuration
Log
呃,忘记抓了
Screenshots/Media
参考 https://github.com/nini22P/iris/issues/74
Environment Information
@EdenHell commented on GitHub (May 19, 2026):
我服务端换成用 https://github.com/hacdias/webdav 是没这个问题的。是否各服务端实现的 webdav 协议略有差别?
@sigoden commented on GitHub (May 20, 2026):
I just tried it and didn't find any problems.
@EdenHell commented on GitHub (May 20, 2026):
差点就尴尬了,我重新复现了下,开了日志,抓了下包。貌似是因为 iris 播放器测试的时候使用 PROPFIND 请求 / 路径,且不带用户认证信息。而且我修改配置允许匿名访问后就没有问题。以下是日志和抓包信息:
dufs 日志:

抓包:

看起来某些 webdav 实现允许这种请求。
@sigoden
@EdenHell commented on GitHub (May 20, 2026):
或许可以考虑增加配置项来支持这种行为
@sigoden commented on GitHub (May 20, 2026):
When dufs encounters a 401 error, it will respond with two www-authenticate headers. Some WebDAV clients do not support multiple www-authenticate headers, which may be the cause of the problem.
This is a problem that the WebDAV client needs to solve.
@EdenHell commented on GitHub (May 20, 2026):
哦哦,原来如此,首次 401 请求是正常的,会返回需要的认证信息。你说的对,我现在用的 webdav 确实只返回了一个 www-authenticate
@sigoden