Skip to content

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

Merged
lovelydinosaur merged 6 commits into
masterfrom
tweak-create-ssl-context-defaults
Feb 17, 2021
Merged

Tweak create_ssl_context defaults - trust_env=True, not None.#1447
lovelydinosaur merged 6 commits into
masterfrom
tweak-create-ssl-context-defaults

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

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

@lovelydinosaurlovelydinosaur 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
@lovelydinosaurlovelydinosaur added this to the v0.17 milestone Jan 6, 2021

@florimondmancaflorimondmanca left a comment

Copy link
Copy Markdown
Contributor

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?

Comment threadCHANGELOG.md Outdated
@lovelydinosaur
lovelydinosaur merged commit bd4caa8 into masterFeb 17, 2021
@lovelydinosaur
lovelydinosaur deleted the tweak-create-ssl-context-defaults branch February 17, 2021 11:27
@lovelydinosaurlovelydinosaur changed the title Tweak create_ssl_context defaults.Tweak create_ssl_context defaults - trust_env=True, not None.Feb 17, 2021
@florimondmancaflorimondmanca mentioned this pull request Feb 28, 2021
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api changePRs that contain breaking public API changesuser-experienceEnsuring that users have a good experience using the library

Development

Successfully merging this pull request may close these issues.

trust_env has diverging defaults between Client and create_ssl_context

2 participants

@lovelydinosaur@florimondmanca