diff --git a/docs/community/recommended.rst b/docs/community/recommended.rst index 99a16b9e..ae2ae5eb 100644 --- a/docs/community/recommended.rst +++ b/docs/community/recommended.rst @@ -22,7 +22,7 @@ CacheControl makes your web requests substantially more efficient, and should be used whenever you're making a lot of web requests. -.. _CacheControl: https://cachecontrol.readthedocs.org/en/latest/ +.. _CacheControl: https://cachecontrol.readthedocs.io/en/latest/ Requests-Toolbelt ----------------- @@ -32,7 +32,7 @@ but do not belong in Requests proper. This library is actively maintained by members of the Requests core team, and reflects the functionality most requested by users within the community. -.. _Requests-Toolbelt: http://toolbelt.readthedocs.org/en/latest/index.html +.. _Requests-Toolbelt: http://toolbelt.readthedocs.io/en/latest/index.html Requests-OAuthlib ----------------- @@ -42,7 +42,7 @@ automatically. This is useful for the large number of websites that use OAuth to provide authentication. It also provides a lot of tweaks that handle ways that specific OAuth providers differ from the standard specifications. -.. _requests-oauthlib: https://requests-oauthlib.readthedocs.org/en/latest/ +.. _requests-oauthlib: https://requests-oauthlib.readthedocs.io/en/latest/ Betamax diff --git a/docs/conf.py b/docs/conf.py index 00e4261c..fb8a01e0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -376,4 +376,4 @@ epub_exclude_files = ['search.html'] # If false, no index is generated. #epub_use_index = True -intersphinx_mapping = {'urllib3': ('http://urllib3.readthedocs.org/en/latest', None)} +intersphinx_mapping = {'urllib3': ('http://urllib3.readthedocs.io/en/latest', None)} diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index a7812882..efdc406a 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -252,7 +252,7 @@ system. For the sake of security we recommend upgrading certifi frequently! .. _HTTP persistent connection: https://en.wikipedia.org/wiki/HTTP_persistent_connection -.. _connection pooling: https://urllib3.readthedocs.org/en/latest/pools.html +.. _connection pooling: https://urllib3.readthedocs.io/en/latest/pools.html .. _certifi: http://certifi.io/ .. _Mozilla trust store: https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index d31f224e..afdabe26 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -305,7 +305,7 @@ In the event you are posting a very large file as a ``multipart/form-data`` request, you may want to stream the request. By default, ``requests`` does not support this, but there is a separate package which does - ``requests-toolbelt``. You should read `the toolbelt's documentation -`_ for more details about how to use it. +`_ for more details about how to use it. For sending multiple files in one request refer to the :ref:`advanced ` section. diff --git a/requests/packages/urllib3/connectionpool.py b/requests/packages/urllib3/connectionpool.py index 995b4167..7d220b13 100644 --- a/requests/packages/urllib3/connectionpool.py +++ b/requests/packages/urllib3/connectionpool.py @@ -787,7 +787,7 @@ class HTTPSConnectionPool(HTTPConnectionPool): warnings.warn(( 'Unverified HTTPS request is being made. ' 'Adding certificate verification is strongly advised. See: ' - 'https://urllib3.readthedocs.org/en/latest/security.html'), + 'https://urllib3.readthedocs.io/en/latest/security.html'), InsecureRequestWarning) diff --git a/requests/packages/urllib3/contrib/appengine.py b/requests/packages/urllib3/contrib/appengine.py index 884cdb22..4f8f1312 100644 --- a/requests/packages/urllib3/contrib/appengine.py +++ b/requests/packages/urllib3/contrib/appengine.py @@ -70,7 +70,7 @@ class AppEngineManager(RequestMethods): warnings.warn( "urllib3 is using URLFetch on Google App Engine sandbox instead " "of sockets. To use sockets directly instead of URLFetch see " - "https://urllib3.readthedocs.org/en/latest/contrib.html.", + "https://urllib3.readthedocs.io/en/latest/contrib.html.", AppEnginePlatformWarning) RequestMethods.__init__(self, headers) diff --git a/requests/packages/urllib3/util/ssl_.py b/requests/packages/urllib3/util/ssl_.py index 67f83441..dc01645c 100644 --- a/requests/packages/urllib3/util/ssl_.py +++ b/requests/packages/urllib3/util/ssl_.py @@ -115,7 +115,7 @@ except ImportError: 'A true SSLContext object is not available. This prevents ' 'urllib3 from configuring SSL appropriately and may cause ' 'certain SSL connections to fail. For more information, see ' - 'https://urllib3.readthedocs.org/en/latest/security.html' + 'https://urllib3.readthedocs.io/en/latest/security.html' '#insecureplatformwarning.', InsecurePlatformWarning ) @@ -310,7 +310,7 @@ def ssl_wrap_socket(sock, keyfile=None, certfile=None, cert_reqs=None, 'This may cause the server to present an incorrect TLS ' 'certificate, which can cause validation failures. For more ' 'information, see ' - 'https://urllib3.readthedocs.org/en/latest/security.html' + 'https://urllib3.readthedocs.io/en/latest/security.html' '#snimissingwarning.', SNIMissingWarning )