diff options
author | jugglinmike <mike@mikepennisi.com> | 2017-05-24 18:25:50 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2017-05-24 18:25:50 (GMT) |
commit | a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3 (patch) | |
tree | e0c666b3167f3fd75dd2f54f4bba92aa8427f75e | |
parent | 323d538fec78af8eaffc9449a7b9e0ba92d985fc (diff) | |
download | cpython-a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3.zip cpython-a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3.tar.gz cpython-a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3.tar.bz2 |
bpo-30160: Clarify intended usage of wfile (gh-1300)
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.
-rw-r--r-- | Doc/library/http.server.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 323ee9f..c98843de 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. .. versionchanged:: 3.6 This is an :class:`io.BufferedIOBase` stream. |