send content-disposition for opds downloads

This commit is contained in:
AppleTheGolden 2025-09-10 11:26:09 +02:00
parent 0edbd858d4
commit 2969d9ff92
No known key found for this signature in database
GPG key ID: F6AC8A62154C42AA

View file

@ -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