From 96ba2c97ab3c0ce4a3c8d3404b5df1911a2ec1ed Mon Sep 17 00:00:00 2001 From: lou Date: Mon, 10 Aug 2026 21:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E7=AB=AF=E7=82=B9=E5=8E=BB?= =?UTF-8?q?=20Content-Disposition=20(filename=20=E5=8F=82=E6=95=B0):=20ari?= =?UTF-8?q?a2=20=E8=90=BD=E7=9B=98=E5=90=8D=3D=E5=8D=B7=E5=BA=8F=E5=8F=B7,?= =?UTF-8?q?=20=E5=AE=A2=E6=88=B7=E7=AB=AF=20file=5Fname=20=E8=B5=B0=20X-En?= =?UTF-8?q?c-Params?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api.py b/api.py index 8733545..2df0632 100644 --- a/api.py +++ b/api.py @@ -195,7 +195,6 @@ async def download_chunk(file_id: str, idx: int, request: Request, username: str file_id, idx, rec["chunk_count"]) return FileResponse( chunk_path, - filename=rec["file_name"], media_type="application/octet-stream", headers=_enc_headers(rec), )