class documentation

class _RFC822MessageStructure(_SinglepartMessageStructure): (source)

View In Hierarchy

_RFC822MessageStructure represents the message structure of a message/rfc822 message.

Method encode No summary

Inherited from _SinglepartMessageStructure:

Method __init__
Instance Variable main Undocumented
Instance Variable subtype Undocumented
Instance Variable attrs Undocumented
Class Variable _HEADERS Undocumented
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):

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
def encode(self, extended): (source)

A body type of type MESSAGE and subtype RFC822 contains, immediately after the basic fields, the envelope structure, body structure, and size in text lines of the encapsulated message.

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.