summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2017-05-24 21:11:21 (GMT)
committerGitHub <noreply@github.com>2017-05-24 21:11:21 (GMT)
commitaa27f0e94f4d9c5ef589984dc2b32d856e8e038f (patch)
treea1be6befad07a8cc89049cfabb55e97e3ad9187e /Doc/library
parentebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241 (diff)
downloadcpython-aa27f0e94f4d9c5ef589984dc2b32d856e8e038f.zip
cpython-aa27f0e94f4d9c5ef589984dc2b32d856e8e038f.tar.gz
cpython-aa27f0e94f4d9c5ef589984dc2b32d856e8e038f.tar.bz2
[3.5] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1792)
The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. (cherry picked from commit a083c8e)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/http.server.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index ae7fb97..6e71c8a 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -105,7 +105,8 @@ of which this module provides three different variants:
Contains the output stream for writing a response back to the
client. Proper adherence to the HTTP protocol must be used when writing to
- this stream.
+ this stream in order to achieve successful interoperation with HTTP
+ clients.
:class:`BaseHTTPRequestHandler` has the following attributes: