[Python-checkins] r67225 - python/trunk/Doc/library/httplib.rst
brett.cannon
python-checkins at python.org
Sat Nov 15 23:33:26 CET 2008
Author: brett.cannon
Date: Sat Nov 15 23:33:25 2008
New Revision: 67225
Log:
Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
Modified:
python/trunk/Doc/library/httplib.rst
Modified: python/trunk/Doc/library/httplib.rst
==============================================================================
--- python/trunk/Doc/library/httplib.rst (original)
+++ python/trunk/Doc/library/httplib.rst Sat Nov 15 23:33:25 2008
@@ -40,7 +40,8 @@
server. It should be instantiated passing it a host and optional port
number. If no port number is passed, the port is extracted from the host
string if it has the form ``host:port``, else the default HTTP port (80) is
- used. When True, the optional parameter *strict* causes ``BadStatusLine`` to
+ used. When True, the optional parameter *strict* (which defaults to a false
+ value) causes ``BadStatusLine`` to
be raised if the status line can't be parsed as a valid HTTP/1.0 or 1.1
status line. If the optional *timeout* parameter is given, blocking
operations (like connection attempts) will timeout after that many seconds
More information about the Python-checkins
mailing list