summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/httplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 8c8084e..feb97b3 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -9,6 +9,7 @@ Example:
>>> from httplib import HTTP
>>> h = HTTP('www.python.org')
>>> h.putrequest('GET', '/index.html')
+>>> h.putheader('Host', 'www.python.org')
>>> h.putheader('Accept', 'text/html')
>>> h.putheader('Accept', 'text/plain')
>>> h.endheaders()