Prefer https:// for URLs throughout project#4805
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4805 +/- ##
=======================================
Coverage 66.77% 66.77%
=======================================
Files 15 15
Lines 1568 1568
=======================================
Hits 1047 1047
Misses 521 521
Continue to review full report at Codecov.
|
|
Did you verify all of these work? |
|
Hi Kenneth, I've done this same change on a number of different repositories now. I automated this change using the script: https://github.com/jdufresne/commit-messages/blob/master/scripts/checkhttp.py At a high level, this script does the following:
After running the script, I analyze the results locally using a visual diff tool (I like meld). I undo the changes for tests that look to be intentionally using an Many of the changed URLs share a domain. So after spot checking a few from these domains, we can be confident with the rest. So, in summary, a script has confirmed that all these changes result in Please feel free to re-run the script to verify or do additional manual testing. |
nateprewitt
left a comment
There was a problem hiding this comment.
Looks like a couple examples may be broken. I left comments on the two I had a concern about. Once those are addressed and we get this rebased onto master, I think this is set for merge.
|
|
||
| s = requests.Session() | ||
|
|
||
| s.get('http://httpbin.org/cookies/set/sessioncookie/123456789') |
| Sessions can also be used as context managers:: | ||
|
|
||
| with requests.Session() as s: | ||
| s.get('http://httpbin.org/cookies/set/sessioncookie/123456789') |
|
Thanks for catching those mistakes. Restored and fixed in the latest revision. |
nateprewitt
left a comment
There was a problem hiding this comment.
Cool, I think this looks good. Thanks @jdufresne! ✨
No description provided.