From 2969d9ff9243af7d76f10c8132e753871e0df1e0 Mon Sep 17 00:00:00 2001 From: AppleTheGolden Date: Wed, 10 Sep 2025 11:26:09 +0200 Subject: [PATCH] send content-disposition for opds downloads --- copyparty/httpcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 33f859e7..01ae392a 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -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