Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SG-35999 Create a hook for socketIO prepare_http_session #80

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

julien-lang
Copy link
Contributor

@julien-lang julien-lang commented Feb 4, 2025

The hook changes the requests.session instance setting trust_env to False and therefore not using the system proxy settings.

Add an SGTK_ENFORE_PROXY_LOCALHOST environment variable to recover the legacy behaviour.

Related to shotgunsoftware/tk-alias#208 and shotgunsoftware/tk-framework-alias#83.

The hook change the requests.session instance
setting trust_env to False and therefore not using
the system proxy settings
@julien-lang julien-lang marked this pull request as ready for review February 4, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants