diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-06-11 11:18:08 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-06-11 11:18:08 -0400 |
commit | 554bcbf1b925399ef06dd9fd6b87a20f5d028c1e (patch) | |
tree | fa7bc0ec474895b0051422d855065960eb68c3ca /Lib/test/mock_socket.py | |
parent | 38ee9afb34d8eb3fc7d080c447f245ab8369934d (diff) | |
download | cpython-git-554bcbf1b925399ef06dd9fd6b87a20f5d028c1e.tar.gz |
#19662: add decode_data to smtpd so you can get at DATA in bytes form.
Otherwise smtpd is restricted to 7bit clean data, since even if the
incoming data is actually utf-8, it will often break things to decode
it before parsing the message.
Patch by Maciej Szulik, with some adjustments (mostly the warning
support).
Diffstat (limited to 'Lib/test/mock_socket.py')
0 files changed, 0 insertions, 0 deletions