class _MultipartMessageStructure(_MessageStructure): (source)
_MultipartMessageStructure represents the message structure of a multipart/* message.| Method | __init__ |
|
| Method | encode |
Encode each sub-message and added the additional multipart fields. |
| Instance Variable | subtype |
Undocumented |
| Method | _extended |
The extension data of a multipart body part are in the following order: |
| Method | _getParts |
Return an iterator over all of the sub-messages of this message. |
Inherited from _MessageStructure:
| 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 | _unquotedAttrs |
| Parameters | |
| message | An IMessagePart provider which this structure object reports on. |
| subtype | A str giving the MIME subtype of the message (for example, "plain"). |
| attrs | A dict giving the parameters of the Content-Type header of the message. |
The extension data of a multipart body part are in the following order: