Files
kumomta/docs/reference/headermap/set_content_disposition.md
T
Wez Furlong 1bf9d138ce extended lua mime parsing API
refs: https://github.com/KumoCorp/kumomta/issues/117

Could also make it possible to do eg:
https://github.com/KumoCorp/kumomta/issues/142
without any explicit direct support in the product.
2025-09-09 09:15:58 +01:00

402 B

set_content_disposition

headers:set_content_disposition(VALUE)

{{since('dev')}}

Assign the VALUE to the Content-Disposition header.

VALUE may be either a string or be an MimeParams.

If you assign using a string, the string will be parsed and validated as being compatible with MimeParams before allowing the assigment to proceed.