import asyncio

from zeroservices import ZeroMQMedium, ResourceService
from zeroservices.services import get_http_interface

from zeroservices.discovery import UdpDiscoveryMedium


# Http utils

class Auth(object):

    def authorized(self, handler, resource, method):
        return True


if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    medium = ZeroMQMedium(loop, UdpDiscoveryMedium)
    service = ResourceService('todo_mvc', medium)
    application = get_http_interface(service, loop, port=5001, allowed_origins="*")
    application = loop.run_until_complete(application)
    loop.run_until_complete(service.start())
    loop.run_forever()

@@ -178,118 +178,8 @@
 m%0A%0A%0A
-# Http utils%0A%0Aclass Auth(object):%0A%0A    def authorized(self, handler, resource, method):%0A        return True%0A%0A%0A
 if _

Remove useless part in api in fosdem_2015 example dir