feat: use ContentType to control HTML extension
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user