From e487118afbaa0f2c7e06160e25ebbdfb6912677f Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 23 Oct 2011 14:41:45 -0800 Subject: [PATCH] add reply for GetProtocolInfo... Say we can source any type... [git-p4: depot-paths = "//depot/": change = 1595] --- ConnectionManager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ConnectionManager.py b/ConnectionManager.py index 6a85986..e0501e3 100644 --- a/ConnectionManager.py +++ b/ConnectionManager.py @@ -12,6 +12,7 @@ from upnp import UPnPPublisher class ConnectionManagerControl(UPnPPublisher): def soap_GetProtocolInfo(self, *args, **kwargs): log.msg('GetProtocolInfo(%s, %s)' % (`args`, `kwargs`)) + return { 'Source': 'http-get:*:*:*', 'Sink': '' } def soap_PrepareForConnection(self, *args, **kwargs): log.msg('PrepareForConnection(%s, %s)' % (`args`, `kwargs`))