mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
[3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793)
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
)
This commit is contained in:
parent
c3454f0e79
commit
a2a9984a27
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ of which this module provides three different variants:
|
||||||
|
|
||||||
Contains the output stream for writing a response back to the
|
Contains the output stream for writing a response back to the
|
||||||
client. Proper adherence to the HTTP protocol must be used when writing to
|
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
|
.. versionchanged:: 3.6
|
||||||
This is an :class:`io.BufferedIOBase` stream.
|
This is an :class:`io.BufferedIOBase` stream.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue