summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/http.client.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index c4b7c79..3408c10 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -497,6 +497,7 @@ Here is an example session that uses the ``GET`` method::
b'<!doctype html>\n<!--[if"...
...
>>> # Example of an invalid request
+ >>> conn = http.client.HTTPSConnection("docs.python.org")
>>> conn.request("GET", "/parrot.spam")
>>> r2 = conn.getresponse()
>>> print(r2.status, r2.reason)