commit | 6c2bc4635539765dc267094b95e0ef8f0ce9053a | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Oct 14 15:09:30 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Oct 14 15:09:30 2002 +0000 |
tree | e8a7c50a844dfaab2f70e1af276f887633e6c68d | |
parent | 7cd724049f3d6c741dc3d7d3b652ba9a83481e5d [diff] |
_split_header(): If we have a header which is a byte string containing 8-bit data, we cannot split it safely, so return the original string unchanged. _is8bitstring(): Helper function which returns True when we have a byte string that contains non-ascii characters (i.e. mysterious 8-bit data).