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
2021-11-01 21:00:27 +03:00
2022-01-12 19:51:26 +01:00
2021-10-20 22:56:19 +02:00
2021-10-20 22:56:19 +02:00
2020-10-28 18:16:23 +00:00
2021-10-20 22:56:19 +02:00
2021-10-20 22:56:19 +02:00
2019-10-14 17:02:09 +01:00
2021-01-25 22:40:46 +03:00
2019-10-14 17:02:09 +01:00
2022-06-13 21:13:50 +02:00