mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #406] about webdav service #219
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 @CJSen on GitHub (Jun 21, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/406
-- dufs version: 0.41.0


When I use Alist to connect to the services provided by dufs, the storage connection method used is webdav. I found that after I clicked download, I failed to trigger the browser's download function correctly, but opened the file in a new tab, such as a txt file(mp3, mp4,pdf and so on).But the storage connection method used is sftp, it is ok.
After checking the relevant requests, I found that it was caused these mistakes.
I'm using wget can be downloaded normally, but when I access it directly using IP: port/links, I also open a tab instead of downloading.
eg: wget 192.168.1.1:5000/books/test.txt It downloads normally.
open links:192.168.1.1:5000/books/test.txt in browser, It can't download normally, but opens the file in the browser.
If this is normal, please close this issue
@sigoden commented on GitHub (Jun 22, 2024):
This is a feature of modern browsers. They can handle a wide range of file types natively, meaning they can open and display them right within your browser window or a new tab. These file types commonly include: