def __call__(self, target, creds, enforcer):

        url = ('http:' + self.match) % target
        data = {'target': jsonutils.dumps(target),
                'credentials': jsonutils.dumps(creds)}
        post_data = urlparse.urlencode(data)
        f = urlrequest.urlopen(url, post_data)
        return f.read() == "True"
See the class docstring for explanation of options.
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/openstack/common/policy.py/HttpCheck.__call__--crossover with--dataset/ETHPy150Open adieu/allbuttonspressed/pygments/formatters/img.py/ImageFormatter.__init__