Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

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 the part carries no Content-Disposition header.

Discussion

Throws

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