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

Tweak create_ssl_context defaults - trust_env=True, not None. #1447

Merged
merged 6 commits into from Feb 17, 2021

Conversation

tomchristie
Copy link
Member

The create_ssl_context helper function now uses trust_env=True in line with httpx.Client,
instead of erroneously having a tri-state value, with a None default.

Closes #1430

@tomchristie tomchristie added user-experience Ensuring that users have a good experience using the library api change PRs that contain breaking public API changes labels Jan 6, 2021
@tomchristie tomchristie added this to the v0.17 milestone Jan 6, 2021
Copy link
Member

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, provided we keep the changelog write up in a separate PR?

CHANGELOG.md Outdated Show resolved Hide resolved
@tomchristie tomchristie merged commit bd4caa8 into master Feb 17, 2021
@tomchristie tomchristie deleted the tweak-create-ssl-context-defaults branch February 17, 2021 11:27
@tomchristie tomchristie changed the title Tweak create_ssl_context defaults. Tweak create_ssl_context defaults - trust_env=True, not None. Feb 17, 2021
@florimondmanca florimondmanca mentioned this pull request Feb 28, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change PRs that contain breaking public API changes user-experience Ensuring that users have a good experience using the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trust_env has diverging defaults between Client and create_ssl_context
2 participants