Multipart.newFromMessage

Parses headers and body to form a new #SoupMultipart

Parameters

headers soup.message_headers.MessageHeaders

the headers of the HTTP message to parse

body_ glib.bytes.Bytes

the body of the HTTP message to parse

Return Value

Type: soup.multipart.Multipart

a new #SoupMultipart (or null if the message couldn't be parsed or wasn't multipart).