feat: use ContentType to control HTML extension

This commit is contained in:
2026-06-29 11:55:11 +02:00
parent 277178776d
commit 6e58502598
4 changed files with 36 additions and 2 deletions
+1
View File
@@ -680,6 +680,7 @@ func (p *Protocol) downloadFile(ctx context.Context, req *core.DownloadRequest,
OutputPath: req.Output,
Resumed: resumed,
ChunksCount: 1,
ContentType: resp.Header.Get("Content-Type"),
}, nil
}