• Barry Warsaw's avatar
    I've thought about it some more, and I believe it is proper for the · 7e21b679
    Barry Warsaw yazdı
    email package's Parser to handle the three common line endings.
    Certain protocols such as IMAP define CRLF line endings and it doesn't
    make sense for the client app to have to normalize the line endings
    before handing it message off to the Parser.
    
    _parsebody(): Be more flexible in the matching of line endings for
    finding the MIME separators.  Accept any of \r, \n and \r\n.  Note
    that we do /not/ change the line endings in the payloads, we just
    accept any of those three around MIME boundaries.
    7e21b679
Adı
Son kayıt (commit)
Son güncelleme
..
Charset.py Loading commit data...
Encoders.py Loading commit data...
Errors.py Loading commit data...
Generator.py Loading commit data...
Header.py Loading commit data...
Iterators.py Loading commit data...
MIMEAudio.py Loading commit data...
MIMEBase.py Loading commit data...
MIMEImage.py Loading commit data...
MIMEMessage.py Loading commit data...
MIMEText.py Loading commit data...
Message.py Loading commit data...
Parser.py Loading commit data...
Utils.py Loading commit data...
__init__.py Loading commit data...
_compat21.py Loading commit data...
_compat22.py Loading commit data...
base64MIME.py Loading commit data...
quopriMIME.py Loading commit data...