From d3efd613138eaf1f010aa9d99f05df21e34a5fcb Mon Sep 17 00:00:00 2001 From: Sam Robbins Date: Mon, 8 Jul 2024 13:25:34 +0100 Subject: [PATCH 1/2] Update client.py --- Lib/http/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/http/client.py b/Lib/http/client.py index fab90a0ba4eb839..43b53f96d2d32f1 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -1,8 +1,5 @@ r"""HTTP/1.1 client library - - - HTTPConnection goes through a number of "states", which define when a client may legally make another request or fetch the response for a particular request. This diagram details these state transitions: From e713bf4b19c81e648c9025b3259bd913f99c9d1b Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 30 Oct 2026 13:51:57 +0000 Subject: [PATCH 2/2] Add a little intro --- Lib/http/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/http/client.py b/Lib/http/client.py index 185b85e35702e33..fe67d0f7963f786 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -1,5 +1,9 @@ r"""HTTP/1.1 client library +This module implements the client side of the HTTP and HTTPS protocols. +HTTPConnection and HTTPSConnection manage a single connection to a server; +HTTPResponse wraps the reply. + HTTPConnection goes through a number of "states", which define when a client may legally make another request or fetch the response for a particular request. This diagram details these state transitions: