From 6de708fd46207f6af67d4c0e8902f0d56ea4495c Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 20 Apr 2015 18:18:14 -0400 Subject: recommend requests library (closes #23989) Patch from Van Lindberg --- Doc/library/http.client.rst | 5 +++++ Doc/library/urllib.request.rst | 5 +++++ 2 files changed, 10 insertions(+) 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 `_ + 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 `_ + is recommended for a higher-level http client interface. + The :mod:`urllib.request` module defines the following functions: -- cgit v0.12