# Method MIME.Message()->setdisp_param()

Method setdisp_param

  ``void` setdisp_param(`string` `param`, `string` `value`)`

Description

  Set or modify the named parameter of the `Content-Disposition` header.

  A common parameters is e.g. `filename`.

Note

  It is not allowed to modify the `Content-Disposition` header directly, please use this function instead.

See also

  setparam(), get_filename()