mirror of
https://github.com/rclone/rclone.git
synced 2025-04-24 13:14:13 +08:00
http: add comment for choosing name codeblock
This commit is contained in:
parent
18225c01a8
commit
7bde8822fd
@ -204,6 +204,7 @@ func (lj *listJSON) entry(ctx context.Context, entry fs.DirEntry) (*ListJSONItem
|
||||
}
|
||||
}
|
||||
|
||||
// Extract the name from the metadata if possible
|
||||
var name string
|
||||
if meta != nil && meta["content-disposition"] != "" {
|
||||
name, err = parseFilenameFromContentDisposition(meta["content-disposition"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user