def _post_hook(self, msg, urls):
        body = json.dumps(msg)
        headers = { "Content-Length": str(len(body)),
                    "Content-Type": "application/json" }

        client = HTTPClient()
        for url in urls:
            try:
                client.fetch(url, method="POST", headers=headers,
                        body=body)
            except __HOLE__:
                # for now we ignore all http errors.
                pass
dataset/ETHPy150Open benoitc/gaffer/gaffer/webhooks.py/WebHooks._post_hook