summaryrefslogtreecommitdiffstats
path: root/Doc/howto/urllib2.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-07 07:49:07 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-07 07:49:07 (GMT)
commit6dff0205b724669cc0469dd65a3f7edc5a69e1e7 (patch)
treeb909a98cf8b2d7820f897b89e3114b7b1844f037 /Doc/howto/urllib2.rst
parent64099ea58ea61c8f37c1fd9f673e0ded59600209 (diff)
downloadcpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.zip
cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.gz
cpython-6dff0205b724669cc0469dd65a3f7edc5a69e1e7.tar.bz2
Issue #26736: Used HTTPS for external links in the documentation if possible.
Diffstat (limited to 'Doc/howto/urllib2.rst')
-rw-r--r--Doc/howto/urllib2.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 0d04c9f..b4e2157 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -122,7 +122,7 @@ library. ::
Note that other encodings are sometimes required (e.g. for file upload from HTML
forms - see `HTML Specification, Form Submission
-<http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13>`_ for more
+<https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13>`_ for more
details).
If you do not pass the ``data`` argument, urllib uses a **GET** request. One
@@ -403,7 +403,7 @@ fetched, particularly the headers sent by the server. It is currently an
:class:`http.client.HTTPMessage` instance.
Typical headers include 'Content-length', 'Content-type', and so on. See the
-`Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_
+`Quick Reference to HTTP Headers <https://www.cs.tut.fi/~jkorpela/http.html>`_
for a useful listing of HTTP headers with brief explanations of their meaning
and use.
@@ -586,5 +586,5 @@ This document was reviewed and revised by John Lee.
scripts with a localhost server, I have to prevent urllib from using
the proxy.
.. [#] urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe
- <http://code.activestate.com/recipes/456195/>`_.
+ <https://code.activestate.com/recipes/456195/>`_.