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

Method _path_url

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

Source from the content-addressed store, hash-verified

371 return self._proxy_managers[proxy_url]
372
373 def _path_url(self, url):
374 parsed_url = urlparse(url)
375 path = parsed_url.path
376 if not path:
377 path = '/'
378 if parsed_url.query:
379 path = path + '?' + parsed_url.query
380 return path
381
382 def _setup_ssl_cert(self, conn, url, verify):
383 if url.lower().startswith('https') and verify:

Callers 1

_get_request_targetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected