setContentDisposition

fun setContentDisposition(disposition: String, params: <Error class: unknown class>? = null)

Sets the "Content-Disposition" header in @hdrs to @disposition, optionally with additional parameters specified in @params.

See method@MessageHeaders.get_content_disposition for a discussion of how Content-Disposition is used in HTTP.

Parameters

disposition

the disposition-type

params

additional parameters