From 0a6796194d7cc7cb4a16461998df9f7df05dc68a Mon Sep 17 00:00:00 2001 From: jugglinmike Date: Wed, 24 May 2017 14:25:50 -0400 Subject: [PATCH] [3.5] 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. (cherry picked from commit a083c8e) --- Doc/library/http.server.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index ae7fb970de1ec4..6e71c8a881118a 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: