[3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793) · python/cpython@a2a9984 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit a2a9984

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)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -105,7 +105,8 @@ of which this module provides three different variants:
105 105
106 106 Contains the output stream for writing a response back to the
107 107 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.
109 110
110 111 .. versionchanged:: 3.6
111 112 This is an :class:`io.BufferedIOBase` stream.