mirror of
https://github.com/9001/copyparty.git
synced 2025-10-02 14:42:28 -06:00
send content-disposition for opds downloads
This commit is contained in:
parent
0edbd858d4
commit
2969d9ff92
|
@ -4218,7 +4218,7 @@ class HttpCli(object):
|
|||
#
|
||||
# force download
|
||||
|
||||
if "dl" in self.ouparam:
|
||||
if "dl" in self.ouparam or "opds" in self.uparam:
|
||||
cdis = gen_content_disposition(os.path.basename(req_path))
|
||||
self.out_headers["Content-Disposition"] = cdis
|
||||
|
||||
|
|
Loading…
Reference in a new issue