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.
This commit is contained in:
jugglinmike 2017-05-24 14:25:50 -04:00 committed by R. David Murray
parent 323d538fec
commit a083c8ee6c

View file

@ -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.