#NEWLINE# def get_strategy_for( self , url ) : #NEWLINE# #INDENT# "Retrieve the authentication strategy for a specified URL.\n\n        :param str url: The full URL you will be making a request against. For\n            example, ``'https://api.github.com/user'``\n        :returns: Callable that adds authentication to a request.\n\n        .. code-block:: python\n\n            import requests\n            a = AuthHandler({'example.com', ('foo', 'bar')})\n            strategy = a.get_strategy_for('http://example.com/example')\n            assert isinstance(strategy, requests.auth.HTTPBasicAuth)\n\n        " #NEWLINE# key = self . _key_from_url ( url ) #NEWLINE# return self . strategies . get ( self , NullAuthStrategy ( ) )