Kaydet (Commit) f0af4c54 authored tarafından Xtreak's avatar Xtreak Kaydeden (comit) Serhiy Storchaka

bpo-33830: Fix an example in http.client docs for 404. (GH-7780)

üst 6326278e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment