Message.newFromUri

Creates a new empty #SoupMessage, which will connect to uri.

class Message
static
newFromUri

Parameters

method string

the HTTP method for the created request

uri glib.uri.Uri

the destination endpoint

Return Value

Type: soup.message.Message

the new #SoupMessage