ERRO[2023-09-13 23:17:05]/app/server/webdav.go:27 github.com/alist-org/alist/v3/server.WebDav.func1() PUT /dav/1drv/******* {"@odata.context":"___REDACTED___","@content.downloadUrl":"___REDACTED___","createdBy":{"application":{"id":"4*****2","displayName":"Alist"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2023-09-13T12:02:32Z","eTag":"___REDACTED___","id":"___REDACTED___","lastModifiedBy":{"application":{"id":"4*****2","displayName":"Alist"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"___REDACTED___","name":"*****","parentReference":{"driveType":"business","driveId":"___REDACTED___","path":"___REDACTED___","siteId":"___REDACTED___"},"webUrl":"___REDACTED___","cTag":"___REDACTED___","file":{"hashes":{"quickXorHash":"___REDACTED___"},"irmEffectivelyEnabled":false,"irmEnabled":false,"mimeType":"application/octet-stream"},"fileSystemInfo":{"createdDateTime":"___REDACTED___","lastModifiedDateTime":"___REDACTED___"},"size":114514}
Please make sure of the following things
I have read the documentation.
我已经阅读了文档。
I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
I'm sure it's due to
AListand not something else(such as Network ,DependenciesorOperational).我确定是
AList的问题,而不是其他原因(例如网络,依赖或操作)。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.27.0
Driver used / 使用的存储驱动
onedriveAPP
Describe the bug / 问题描述
当用户尝试在 OneDrive 上分段上传一个已经存在的文件时,上传成功的响应状态码为
200 OK而非201 Created(参见官方文档)。然而,在 AList 的 OneDrive 驱动中(以 onedriveApp)为例,将
201 Created和202 Accepted之外的状态码均认为是失败的结果。我认为这导致了在覆盖大文件时会失败。Reproduction / 复现链接
无
Config / 配置
无需提供。
Logs / 日志