]> granicus.if.org Git - python/commit
__init__(): RFC 2046 $4.1.2 says charsets are not case sensitive.
authorBarry Warsaw <barry@python.org>
Thu, 10 Oct 2002 15:11:20 +0000 (15:11 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 10 Oct 2002 15:11:20 +0000 (15:11 +0000)
commit14fc464ec9b0e4ac0e62af515740e9bb0a5ea448
tree5f43fc92ee898e68221d14e3e1075af6d313ba45
parentd4f7da3cd7545d77d283cfee637f2a88385dea7a
__init__(): RFC 2046 $4.1.2 says charsets are not case sensitive.
Coerce the argument to lower case.  Also, since body encodings can't
be SHORTEST, default the CHARSETS failobj's second item to BASE64.
Lib/email/Charset.py