Skip to content

Commit a083c8e

Browse files
jugglinmikebitdancer
authored andcommitted
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.
1 parent 323d538 commit a083c8e

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
.. versionchanged:: 3.6
111112
This is an :class:`io.BufferedIOBase` stream.

0 commit comments

Comments
 (0)