Skip to content

Instance Property

contentDisposition

Parses and returns the Content-Disposition information from the part’s headers.
var contentDisposition: ContentDisposition? { get throws(ContentDisposition.Error) }

Return Value

A parsed ContentDisposition instance, or nil if it can’t be parsed.

Discussion

Throws

ContentDisposition.Error if the header has an invalid format, or is missing required fields.