Message.newFromMultipart

Creates a new #SoupMessage and sets it up to send multipart to uri_string via POST.

class Message
static
newFromMultipart

Parameters

uriString string

the destination endpoint

multipart soup.multipart.Multipart

a #SoupMultipart

Return Value

Type: soup.message.Message

the new #SoupMessage, or null if uri_string could not be parsed