Multipart.appendPart

Adds a new MIME part to multipart with the given headers and body.

(The multipart will make its own copies of headers and body, so you should free your copies if you are not using them for anything else.)

Parameters

headers soup.message_headers.MessageHeaders

the MIME part headers

body_ glib.bytes.Bytes

the MIME part body