mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
\r\n only get the \n stripped, not the \r (unless it's the last header which does get the \r stripped). Patch by Tony Meyer. test_whitespace_continuation_last_header(), test_strip_line_feed_and_carriage_return_in_headers(): New tests. _parse_headers(): Be sure to strip \r\n from the right side of header lines. |
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| test_email.py | ||
| test_email_codecs.py | ||
| test_email_torture.py | ||