summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-11-15 22:33:25 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-11-15 22:33:25 (GMT)
commit031f3fb69a9a21604ef16245fb95ca508c8a2d3b (patch)
tree6711bac1d4169da0066353c136d9afc794221cf3 /Doc
parentee1a7da1354f265040d9785b67719901df01c864 (diff)
downloadcpython-031f3fb69a9a21604ef16245fb95ca508c8a2d3b.zip
cpython-031f3fb69a9a21604ef16245fb95ca508c8a2d3b.tar.gz
cpython-031f3fb69a9a21604ef16245fb95ca508c8a2d3b.tar.bz2
Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/httplib.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst
index 4c87d17..874fd54 100644
--- a/Doc/library/httplib.rst
+++ b/Doc/library/httplib.rst
@@ -40,7 +40,8 @@ The module provides the following classes:
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