From: Benjamin Peterson Date: Mon, 20 Apr 2015 22:18:14 +0000 (-0400) Subject: recommend requests library (closes #23989) X-Git-Tag: v3.5.0b1~316^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6de708fd46207f6af67d4c0e8902f0d56ea4495c;p=python recommend requests library (closes #23989) Patch from Van Lindberg --- diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index fc45103474..632430591d 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 `_ + 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 053248156b..03ce7523da 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 `_ + is recommended for a higher-level http client interface. + The :mod:`urllib.request` module defines the following functions: