Esempio n. 1
0
 def download(self, message):
     request = HTTPRequest(message, self.cancellable)
     request.connect('sent', self._download_sent)
     request.connect('received', self._download_received)
     request.connect('failure', self._download_failure)
     request.send()
Esempio n. 2
0
 def download(self, message):
     request = HTTPRequest(message, self.cancellable)
     request.connect('sent', self._download_sent)
     request.connect('received', self._download_received)
     request.connect('failure', self._download_failure)
     request.send()