From d6a06d38416c662b6ec89334cede480f6fe0298a Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Wed, 26 Apr 2017 10:01:16 -0400 Subject: [PATCH] Clarify intended usage of request handler stream Although the library does not enforce compliance with the HTTP protocol, violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. --- 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 ee1c37c631941b..f7e1f81243a1c0 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.