• Barry Warsaw's avatar
    Anthony Baxter's cleanup patch. Python project SF patch # 583190, · 7aeac918
    Barry Warsaw yazdı
    quoting:
    
      in non-strict mode, messages don't require a blank line at the end
      with a missing end-terminator. A single newline is sufficient now.
    
      Handle trailing whitespace at the end of a boundary. Had to switch
      from using string.split() to re.split()
    
      Handle whitespace on the end of a parameter list for Content-type.
    
      Handle whitespace on the end of a plain content-type header.
    
    Specifically,
    
    get_type(): Strip the content type string.
    
    _get_params_preserve(): Strip the parameter names and values on both
    sides.
    
    _parsebody(): Lots of changes as described above, with some stylistic
    changes by Barry (who hopefully didn't screw things up ;).
    7aeac918
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...
MIMEMultipart.py Loading commit data...
MIMENonMultipart.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...