Mercurial > libervia-pubsub
diff idavoll/tap_http.py @ 183:c21b986cff30
Implement HTTP client to gateway and implement functional tests with it.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Fri, 11 Apr 2008 14:41:16 +0000 |
parents | faf1c9bc2612 |
children | 9038908dc2f5 |
line wrap: on
line diff
--- a/idavoll/tap_http.py Fri Apr 11 13:48:12 2008 +0000 +++ b/idavoll/tap_http.py Fri Apr 11 14:41:16 2008 +0000 @@ -49,9 +49,9 @@ config['jid']) root.child_publish = gateway.PublishResource(bs, config['jid'], config['jid']) + root.child_list = gateway.ListResource(bs) root.child_subscribe = gateway.SubscribeResource(ss) root.child_unsubscribe = gateway.UnsubscribeResource(ss) - root.child_list = gateway.ListResource(ss) site = server.Site(root) w = internet.TCPServer(int(config['webport']), channel.HTTPFactory(site))