diff options
| author | Barry Warsaw <barry@python.org> | 2002-07-09 02:46:12 +0000 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-07-09 02:46:12 +0000 |
| commit | a0c8b9d4d5fda80f82553ed91b341a531a846ab6 (patch) | |
| tree | 67a5acaca67cc70ea49b2f5cab7ef4d37f411eb5 /Lib/email/Parser.py | |
| parent | bb493a7039ca56e7f7471128340ad3d854da0305 (diff) | |
| download | cpython-git-a0c8b9d4d5fda80f82553ed91b341a531a846ab6.tar.gz | |
Add the concept of a "default type". Normally the default type is
text/plain but the RFCs state that inside a multipart/digest, the
default type is message/rfc822. To preserve idempotency, we need a
separate place to define the default type than the Content-Type:
header.
get_default_type(), set_default_type(): Accessor and mutator methods
for the default type.
Diffstat (limited to 'Lib/email/Parser.py')
0 files changed, 0 insertions, 0 deletions
