diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-04-20 22:18:14 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-04-20 22:18:14 (GMT) |
commit | 6de708fd46207f6af67d4c0e8902f0d56ea4495c (patch) | |
tree | 65d83b8372d2ff3a2589fd2035b3ca9bbc4e339e | |
parent | 0bd16bc4cdbb896e6f201f14e43fd44580024362 (diff) | |
download | cpython-6de708fd46207f6af67d4c0e8902f0d56ea4495c.zip cpython-6de708fd46207f6af67d4c0e8902f0d56ea4495c.tar.gz cpython-6de708fd46207f6af67d4c0e8902f0d56ea4495c.tar.bz2 |
recommend requests library (closes #23989)
Patch from Van Lindberg
-rw-r--r-- | Doc/library/http.client.rst | 5 | ||||
-rw-r--r-- | Doc/library/urllib.request.rst | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index fc45103..6324305 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -19,6 +19,11 @@ This module defines classes which implement the client side of the HTTP and HTTPS protocols. It is normally not used directly --- the module :mod:`urllib.request` uses it to handle URLs that use HTTP and HTTPS. +.. seealso:: + + The `Requests package <http://requests.readthedocs.org/>`_ + is recommended for a higher-level http client interface. + .. note:: HTTPS support is only available if Python was compiled with SSL support diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 0532481..03ce752 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -12,6 +12,11 @@ The :mod:`urllib.request` module defines functions and classes which help in opening URLs (mostly HTTP) in a complex world --- basic and digest authentication, redirections, cookies and more. +.. seealso:: + + The `Requests package <http://requests.readthedocs.org/>`_ + is recommended for a higher-level http client interface. + The :mod:`urllib.request` module defines the following functions: |