⚡ fix(webdav): 改用独立分片流式合并并隔离测试协议

This commit is contained in:
orion committed 2026-09-18 15:38:45 +08:00
1 parent 9a489297f4
commit 90089f793e
7 files changed
+255 -64

No files matched your search

+3
View File
@@ -18,6 +18,9 @@ class WebDAVOffsetMixin:
return str(PurePosixPath(save_path).parent / 'chunks' / upload_id / 'upload.bin')
async def chunk_upload_mode(self):
return "webdav-stream"
async def offset_upload_mode(self):
async with aiohttp.ClientSession(auth=self.auth, timeout=OFFSET_TIMEOUT) as client:
async with client.options(self.base_url) as response:
if response.status not in (200,204):