1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-12 14:33:22 +00:00
Files
rclone/cmd
J-P Treen 8b8802a078 copyurl: Add option to honor the HTTP header filename directive.
Implemented --header-filename for use with copyurl.

For specifically setting preferred download filenames for HTTP requests, RFC 6226
specifies a 'filename' directive, available within 'Content-Disposition'
header. We can handle with 'mime.ParseMediaType'.

See below for details:
https://httpwg.org/specs/rfc6266.html#disposition.parameter.filename
https://httpwg.org/specs/rfc6266.html#advice.generating

Co-authored-by: buengese <buengese@protonmail.com>
2022-06-20 12:06:09 +01:00
..
2022-05-13 12:08:10 +01:00
2022-01-12 19:51:26 +01:00
2022-06-13 21:13:50 +02:00