diff options
author | Ehigie Aito <aitoehigie@gmail.com> | 2021-06-23 16:31:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 10:31:22 -0500 |
commit | 95189954a98d29acd3a29764d14ae57f7473a2d0 (patch) | |
tree | 96eb275688634ad17d0726e3fab852f014502567 | |
parent | eb28aec79de922100b246f2ac1cd4625394ff70c (diff) | |
download | urllib3-95189954a98d29acd3a29764d14ae57f7473a2d0.tar.gz |
Update readthedocs URLs in 1.26.x branch to point to 1.26.x docs
-rw-r--r-- | src/urllib3/connectionpool.py | 2 | ||||
-rw-r--r-- | src/urllib3/contrib/appengine.py | 2 | ||||
-rw-r--r-- | src/urllib3/contrib/socks.py | 2 | ||||
-rw-r--r-- | src/urllib3/util/ssl_.py | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/urllib3/connectionpool.py b/src/urllib3/connectionpool.py index 40183214..459bbe09 100644 --- a/src/urllib3/connectionpool.py +++ b/src/urllib3/connectionpool.py @@ -1014,7 +1014,7 @@ class HTTPSConnectionPool(HTTPConnectionPool): ( "Unverified HTTPS request is being made to host '%s'. " "Adding certificate verification is strongly advised. See: " - "https://urllib3.readthedocs.io/en/latest/advanced-usage.html" + "https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html" "#ssl-warnings" % conn.host ), InsecureRequestWarning, diff --git a/src/urllib3/contrib/appengine.py b/src/urllib3/contrib/appengine.py index aa64a091..f91bdd6e 100644 --- a/src/urllib3/contrib/appengine.py +++ b/src/urllib3/contrib/appengine.py @@ -111,7 +111,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.io/en/latest/reference/urllib3.contrib.html.", + "https://urllib3.readthedocs.io/en/1.26.x/reference/urllib3.contrib.html.", AppEnginePlatformWarning, ) diff --git a/src/urllib3/contrib/socks.py b/src/urllib3/contrib/socks.py index 93df8325..c326e80d 100644 --- a/src/urllib3/contrib/socks.py +++ b/src/urllib3/contrib/socks.py @@ -51,7 +51,7 @@ except ImportError: ( "SOCKS support in urllib3 requires the installation of optional " "dependencies: specifically, PySocks. For more information, see " - "https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies" + "https://urllib3.readthedocs.io/en/1.26.x/contrib.html#socks-proxies" ), DependencyWarning, ) diff --git a/src/urllib3/util/ssl_.py b/src/urllib3/util/ssl_.py index 9434d2d1..8f867812 100644 --- a/src/urllib3/util/ssl_.py +++ b/src/urllib3/util/ssl_.py @@ -164,7 +164,7 @@ except ImportError: "urllib3 from configuring SSL appropriately and may cause " "certain SSL connections to fail. You can upgrade to a newer " "version of Python to solve this. For more information, see " - "https://urllib3.readthedocs.io/en/latest/advanced-usage.html" + "https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html" "#ssl-warnings", InsecurePlatformWarning, ) @@ -440,7 +440,7 @@ def ssl_wrap_socket( "This may cause the server to present an incorrect TLS " "certificate, which can cause validation failures. You can upgrade to " "a newer version of Python to solve this. For more information, see " - "https://urllib3.readthedocs.io/en/latest/advanced-usage.html" + "https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html" "#ssl-warnings", SNIMissingWarning, ) |