twisted.mail.imap4._MessageStructure(object)
class documentationtwisted.mail.imap4
View Source
(View In Hierarchy)
Known subclasses: twisted.mail.imap4._MultipartMessageStructure, twisted.mail.imap4._SinglepartMessageStructure
_MessageStructure
is a helper base class for message structure classes representing the
structure of particular kinds of messages, as defined by their MIME
type.
Method | __init__ | |
Method | _disposition | Parse a Content-Disposition header into a two-sequence of the disposition and a flattened list of its parameters. |
Method | _unquotedAttrs |
Parameters | message | An IMessagePart
provider which this structure object reports on. |
attrs | A dict giving the parameters of the Content-Type header
of the message. |
Returns | The Content-Type parameters, unquoted, as a flat list with each Nth element giving a parameter name and N+1th element giving the corresponding parameter value. |