t.m.i._TextMessageStructure(_SinglepartMessageStructure) : class documentation

Part of twisted.mail.imap4 View Source View In Hierarchy

_TextMessageStructure represents the message structure of a text/* message.
Method encode No summary

Inherited from _SinglepartMessageStructure:

Method __init__
Method _basicFields Return a list of the basic fields for a single-part message.
Method _extended The extension data of a non-multipart body part are in the following order:

Inherited from _MessageStructure (via _SinglepartMessageStructure):

Method _disposition Parse a Content-Disposition header into a two-sequence of the disposition and a flattened list of its parameters.
Method _unquotedAttrs
def encode(self, extended): (source)
A body type of type TEXT contains, immediately after the basic fields, the size of the body in text lines. Note that this size is the size in its content transfer encoding and not the resulting size after any decoding.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.