Пример #1
0
 def __call__(self, environ, trace, location, response, content, features):
     _pinfo = environ["provider_info"]
     part = urlparse.urlparse(_pinfo["authorization_endpoint"])
     _client = environ["client"]
     _client.resource_endpoint = "%s://%s/tracelog" % (part.scheme,
                                                       part.netloc)
     self.kw_args = {"authn_method": "bearer_header"}
     return GetRequest.__call__(self, environ, trace, location, response,
                                content, features)
Пример #2
0
 def __init__(self):
     GetRequest.__init__(self)