Skip to content

Commit b0ad249

Browse files
committed
Prefer https:// for URLs throughout project
1 parent 8f20b7d commit b0ad249

20 files changed

+90
-90
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ documentation](http://docs.python-requests.org/en/latest/community/release-proce
646646
**Bugfixes**
647647

648648
- Revert changes to our vendored certificate bundle. For more context
649-
see (\#2455, \#2456, and <http://bugs.python.org/issue23476>)
649+
see (\#2455, \#2456, and <https://bugs.python.org/issue23476>)
650650

651651
2.5.2 (2015-02-23)
652652
------------------

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright 2018 Kenneth Reitz
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at
66

7-
http://www.apache.org/licenses/LICENSE-2.0
7+
https://www.apache.org/licenses/LICENSE-2.0
88

99
Unless required by applicable law or agreed to in writing, software
1010
distributed under the License is distributed on an "AS IS" BASIS,

_appveyor/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,4 @@ function main () {
226226
InstallPip $env:PYTHON
227227
}
228228

229-
main
229+
main

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AppVeyor.yml from https://github.com/ogrisel/python-appveyor-demo
2-
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
2+
# License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
33

44
build: off
55

@@ -31,7 +31,7 @@ environment:
3131
TOXENV: "py37"
3232

3333
install:
34-
# Install Python (from the official .msi of http://python.org) and pip when
34+
# Install Python (from the official .msi of https://www.python.org/) and pip when
3535
# not already installed.
3636
- ps: if (-not(Test-Path($env:PYTHON))) { & _appveyor\install.ps1 }
3737

docs/_templates/sidebarintro.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ <h3>Stay Informed</h3>
2525
allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe></p>
2626

2727
<p><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p>
28-
<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
28+
<p><a href="https://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
2929
<h3>Other Projects</h3>
3030

31-
<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
31+
<p>More <a href="https://www.kennethreitz.org/">Kenneth Reitz</a> projects:</p>
3232
<ul>
33-
<li><a href="http://html.python-requests.org/">Requests-HTML</a></li>
33+
<li><a href="https://html.python-requests.org/">Requests-HTML</a></li>
3434
<li><a href="http://howtopython.org/">howtopython.org</a></li>
3535
<li><a href="http://pipenv.org/">pipenv</a></li>
36-
<li><a href="http://pep8.org/">pep8.org</a></li>
37-
<li><a href="http://httpbin.org/">httpbin.org</a></li>
38-
<li><a href="http://python-guide.org">The Python Guide</a></li>
36+
<li><a href="https://pep8.org/">pep8.org</a></li>
37+
<li><a href="https://httpbin.org/">httpbin.org</a></li>
38+
<li><a href="https://docs.python-guide.org/">The Python Guide</a></li>
3939
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
4040
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
4141
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>

docs/_templates/sidebarlogo.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h3>Stay Informed</h3>
2121
<p>Receive updates on new releases and upcoming projects.</p>
2222

23-
<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
23+
<p><a href="https://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
2424

2525
<hr/>
2626

@@ -34,14 +34,14 @@ <h3>Stay Informed</h3>
3434

3535
<h3>Other Projects</h3>
3636

37-
<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
37+
<p>More <a href="https://www.kennethreitz.org/">Kenneth Reitz</a> projects:</p>
3838
<ul>
39-
<li><a href="http://html.python-requests.org/">Requests-HTML</a></li>
39+
<li><a href="https://html.python-requests.org/">Requests-HTML</a></li>
4040
<li><a href="http://howtopython.org/">howtopython.org</a></li>
4141
<li><a href="http://pipenv.org/">pipenv</a></li>
42-
<li><a href="http://pep8.org/">pep8.org</a></li>
43-
<li><a href="http://httpbin.org/">httpbin.org</a></li>
44-
<li><a href="http://python-guide.org">The Python Guide</a></li>
42+
<li><a href="https://pep8.org/">pep8.org</a></li>
43+
<li><a href="https://httpbin.org/">httpbin.org</a></li>
44+
<li><a href="https://docs.python-guide.org/">The Python Guide</a></li>
4545
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
4646
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
4747
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>

docs/api.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ API Changes
139139
s = requests.Session() # formerly, session took parameters
140140
s.auth = auth
141141
s.headers.update(headers)
142-
r = s.get('http://httpbin.org/headers')
142+
r = s.get('https://httpbin.org/headers')
143143

144144
* All request hooks have been removed except 'response'.
145145

@@ -185,7 +185,7 @@ API Changes
185185
requests_log.setLevel(logging.DEBUG)
186186
requests_log.propagate = True
187187

188-
requests.get('http://httpbin.org/headers')
188+
requests.get('https://httpbin.org/headers')
189189

190190

191191

@@ -197,8 +197,8 @@ license from the ISC_ license to the `Apache 2.0`_ license. The Apache 2.0
197197
license ensures that contributions to Requests are also covered by the Apache
198198
2.0 license.
199199

200-
.. _ISC: http://opensource.org/licenses/ISC
201-
.. _Apache 2.0: http://opensource.org/licenses/Apache-2.0
200+
.. _ISC: https://opensource.org/licenses/ISC
201+
.. _Apache 2.0: https://opensource.org/licenses/Apache-2.0
202202

203203

204204
Migrating to 2.x
@@ -213,7 +213,7 @@ For more details on the changes in this release including new APIs, links
213213
to the relevant GitHub issues and some of the bug fixes, read Cory's blog_
214214
on the subject.
215215

216-
.. _blog: http://lukasa.co.uk/2013/09/Requests_20/
216+
.. _blog: https://lukasa.co.uk/2013/09/Requests_20/
217217

218218

219219
API Changes

docs/community/out-there.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ To give it a try, simply::
1515

1616
Articles & Talks
1717
================
18-
- `Python for the Web <http://gun.io/blog/python-for-the-web/>`_ teaches how to use Python to interact with the web, using Requests.
19-
- `Daniel Greenfeld's Review of Requests <http://pydanny.blogspot.com/2011/05/python-http-requests-for-humans.html>`_
20-
- `My 'Python for Humans' talk <http://python-for-humans.heroku.com>`_ ( `audio <http://codeconf.s3.amazonaws.com/2011/pycodeconf/talks/PyCodeConf2011%20-%20Kenneth%20Reitz.m4a>`_ )
18+
- `Python for the Web <https://www.gun.io/blog/python-for-the-web>`_ teaches how to use Python to interact with the web, using Requests.
19+
- `Daniel Greenfeld's Review of Requests <https://pydanny.blogspot.com/2011/05/python-http-requests-for-humans.html>`_
20+
- `My 'Python for Humans' talk <http://python-for-humans.heroku.com>`_ ( `audio <https://codeconf.s3.amazonaws.com/2011/pycodeconf/talks/PyCodeConf2011%20-%20Kenneth%20Reitz.m4a>`_ )
2121
- `Issac Kelly's 'Consuming Web APIs' talk <https://issackelly.github.com/Consuming-Web-APIs-with-Python-Talk/slides/slides.html>`_
22-
- `Blog post about Requests via Yum <http://arunsag.wordpress.com/2011/08/17/new-package-python-requests-http-for-humans/>`_
23-
- `Russian blog post introducing Requests <http://habrahabr.ru/blogs/python/126262/>`_
22+
- `Blog post about Requests via Yum <https://arunsag.wordpress.com/2011/08/17/new-package-python-requests-http-for-humans/>`_
23+
- `Russian blog post introducing Requests <https://habr.com/post/126262/>`_
2424
- `Sending JSON in Requests <http://www.coglib.com/~icordasc/blog/2014/11/sending-json-in-requests.html>`_

docs/dev/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ model methods (e.g. ``__repr__``) are typically the exception to this rule.
157157

158158
Thanks for helping to make the world a better place!
159159

160-
.. _PEP 8: http://pep8.org
160+
.. _PEP 8: https://pep8.org/
161161
.. _line continuations: https://www.python.org/dev/peps/pep-0008/#indentation
162162

163163
Documentation Contributions

docs/dev/philosophy.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Requests is an open but opinionated library, created by an open but opinionated
99
Management Style
1010
~~~~~~~~~~~~~~~~
1111

12-
`Kenneth Reitz <http://kennethreitz.org>`_ is the BDFL. He has final say in any decision related to the Requests project. Kenneth is responsible for the direction and form of the library, as well as its presentation. In addition to making decisions based on technical merit, he is responsible for making decisions based on the development philosophy of Requests.
12+
`Kenneth Reitz <https://www.kennethreitz.org/>`_ is the BDFL. He has final say in any decision related to the Requests project. Kenneth is responsible for the direction and form of the library, as well as its presentation. In addition to making decisions based on technical merit, he is responsible for making decisions based on the development philosophy of Requests.
1313

1414
`Ian Cordasco <http://www.coglib.com/~icordasc/>`_ and `Cory Benfield <https://lukasa.co.uk/about/>`_ are the core contributors. They are responsible for triaging bug reports, reviewing pull requests and ensuring that Kenneth is kept up to speed with developments around the library. The day-to-day managing of the project is done by the core contributors. They are responsible for making judgements about whether or not a feature request is likely to be accepted by Kenneth. Their word is, in some ways, more final than Kenneth's.
1515

@@ -26,7 +26,7 @@ Semantic Versioning
2626

2727
For many years, the open source community has been plagued with version number dystonia. Numbers vary so greatly from project to project, they are practically meaningless.
2828

29-
Requests uses `Semantic Versioning <http://semver.org>`_. This specification seeks to put an end to this madness with a small set of practical guidelines for you and your colleagues to use in your next project.
29+
Requests uses `Semantic Versioning <https://semver.org/>`_. This specification seeks to put an end to this madness with a small set of practical guidelines for you and your colleagues to use in your next project.
3030

3131
Standard Library?
3232
~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)