Skip to content

Commit aa27f0e

Browse files
authored
[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)
1 parent ebbefae commit aa27f0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/http.server.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ of which this module provides three different variants:
105105

106106
Contains the output stream for writing a response back to the
107107
client. Proper adherence to the HTTP protocol must be used when writing to
108-
this stream.
108+
this stream in order to achieve successful interoperation with HTTP
109+
clients.
109110

110111
:class:`BaseHTTPRequestHandler` has the following attributes:
111112

0 commit comments

Comments
 (0)