MCPcopy Index your code
hub / github.com/aws/aws-cli / _get_auth_from_url

Method _get_auth_from_url

awscli/botocore/httpsession.py:271–276  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

269 return f'Basic {encoded_str}'
270
271 def _get_auth_from_url(self, url):
272 parsed_url = urlparse(url)
273 try:
274 return unquote(parsed_url.username), unquote(parsed_url.password)
275 except (AttributeError, TypeError):
276 return None, None
277
278
279class URLLib3Session:

Callers 1

proxy_headers_forMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected