summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-08-02 11:04:58 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-08-02 11:04:58 (GMT)
commit9f8dc4441fa1f053a150abedd3dfb99f671a75b9 (patch)
treebbc3cb0a9887513a3f916107b1becdcbb1cef895 /Doc/library/http.client.rst
parentaed05eb6b84456f8a97382f65a2d38779249b4a2 (diff)
downloadcpython-9f8dc4441fa1f053a150abedd3dfb99f671a75b9.zip
cpython-9f8dc4441fa1f053a150abedd3dfb99f671a75b9.tar.gz
cpython-9f8dc4441fa1f053a150abedd3dfb99f671a75b9.tar.bz2
Fix Issue8572 - httplib getheader() throws error instead of default
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index a29e364..be4b28a 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -466,7 +466,8 @@ statement.
.. method:: HTTPResponse.getheader(name, default=None)
Get the contents of the header *name*, or *default* if there is no matching
- header.
+ header. If *default* is an iterator other than a string, then the return
+ value will be a string consisting of items of the iterator joined by comma.
.. method:: HTTPResponse.getheaders()