Skip to content
Snippets Groups Projects
Unverified Commit 392a58e9 authored by Till Ehrengruber's avatar Till Ehrengruber Committed by GitHub
Browse files

oci/opener.py: respect system proxy settings (#48783)

parent 0e8e97a8
Branches
Tags
No related merge requests found
......@@ -383,6 +383,7 @@ def create_opener():
"""Create an opener that can handle OCI authentication."""
opener = urllib.request.OpenerDirector()
for handler in [
urllib.request.ProxyHandler(),
urllib.request.UnknownHandler(),
urllib.request.HTTPSHandler(context=spack.util.web.ssl_create_default_context()),
spack.util.web.SpackHTTPDefaultErrorHandler(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment