class documentation
class _MessageStructure: (source)
Known subclasses: twisted.mail.imap4._MultipartMessageStructure, twisted.mail.imap4._SinglepartMessageStructure
Constructor: _MessageStructure(message, attrs)
_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__ |
No summary |
| Instance Variable | attrs |
Undocumented |
| Instance Variable | message |
Undocumented |
| Method | _disposition |
Parse a Content-Disposition header into a two-sequence of the disposition and a flattened list of its parameters. |
| Method | _unquoted |
No summary |
overridden in
twisted.mail.imap4._MultipartMessageStructure, twisted.mail.imap4._SinglepartMessageStructure| 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. |
Parse a Content-Disposition header into a two-sequence of the disposition and a flattened list of its parameters.
| Returns | |
None if there is no disposition header value, a list with two elements otherwise. |