From bf0968e28c2ed03c758af2eb33c68c9adc628bab Mon Sep 17 00:00:00 2001 From: "brett.cannon" Date: Sat, 15 Nov 2008 22:33:25 +0000 Subject: [PATCH] Clarify the docs for the 'strict' argument to httplib.HTTPConnection. git-svn-id: http://svn.python.org/projects/python/trunk@67225 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Doc/library/httplib.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst index 4c87d1738b..874fd54aee 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 -- 2.11.4.GIT