Skip to content

Load system CA certificates by default on empty HTTPSConnection#1608

Merged
sethmlarson merged 7 commits intourllib3:masterfrom
sethmlarson:load-defaults
May 23, 2019
Merged

Load system CA certificates by default on empty HTTPSConnection#1608
sethmlarson merged 7 commits intourllib3:masterfrom
sethmlarson:load-defaults

Conversation

@sethmlarson
Copy link
Copy Markdown
Member

Closes #1603.

@sethmlarson sethmlarson requested a review from theacodes May 16, 2019 15:46
@sethmlarson sethmlarson changed the title Load system CA certificates by default on empty HTTPConnection Load system CA certificates by default on empty HTTPSConnection May 16, 2019
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 21, 2019

Codecov Report

Merging #1608 into master will decrease coverage by 0.26%.
The diff coverage is 44.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1608      +/-   ##
==========================================
- Coverage   99.73%   99.47%   -0.27%     
==========================================
  Files          22       22              
  Lines        1892     1901       +9     
==========================================
+ Hits         1887     1891       +4     
- Misses          5       10       +5
Impacted Files Coverage Δ
src/urllib3/connection.py 93.83% <44.44%> (-3.25%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0a97553...bd33f3e. Read the comment docs.

@sethmlarson sethmlarson merged commit 42bacbc into urllib3:master May 23, 2019
@sethmlarson sethmlarson deleted the load-defaults branch May 23, 2019 17:32
@pquentin
Copy link
Copy Markdown
Member

It's a nice change, but unfortunately, this pull request decreases coverage

@shazow
Copy link
Copy Markdown
Member

shazow commented May 23, 2019

:'-(

@sethmlarson
Copy link
Copy Markdown
Member Author

Right, only wrote tests for the Connection level logic. Dang, I'm on it.

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.

Default certificates are never loaded since version 1.25

5 participants