ContentType.encode

Encodes the Content-Disposition header.

class ContentType
string
encode

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

Return Value

Type: string

a new string containing the encoded header value.