commit | 487fe6ac398b38b604d56285f2afb71e3ddbeb91 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Oct 07 17:27:35 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Oct 07 17:27:35 2002 +0000 |
tree | a384279d447a796c3dce12433b9a37c5affa1170 | |
parent | 45bb87bc135a36d9359eb0106f8e950cee5574d9 [diff] |
_parsebody(): Use get_content_type() instead of the deprecated get_type(). Also, one of the regular expressions is constant so might as well make it a module global. And, when splitting up digests, handle lineseps that are longer than 1 character in length (e.g. \r\n).