a key 'host' which is the actual ip address we used to contact the peer that is responding
print "response decode error: " + `e`
self.d.errback()
else:
- apply(self.d.callback, args)
+ l = []
+ for i in args:
+ l.append(i)
+ l.append({'host' : self.transport.getHost()[1]})
+ apply(self.d.callback, (l,))
class XMLRPCClientFactory(ClientFactory):
def __init__(self, method, args, callback=None, errback=None):