Closed pali closed 4 years ago
@rjbs ... any chance these could be reviewed and/or merged into a new release? :) let me know if I can help.
@rjbs ping, can you review these changes?
@rjbs: Are there any issues in this PR? If not could it be merged? Because more people are waiting for this new functionality.
Thanks, applied. I will add a commit to normalize the indenting to match existing code.
These functions compose Content-Type and Content-Disposition headers.
Non-ASCII attributes are encoded to UTF-8 and too long (> 78 bytes) attributes are split, both according to RFC 2231.
For compatibility reasons, ASCII version of too long or non-ASCII attribute is also present, but is truncated and encoded to ASCII via Text::Unidecode module.
Fixes #2