]> granicus.if.org Git - python/commit
Add the concept of a "default type". Normally the default type is
authorBarry Warsaw <barry@python.org>
Tue, 9 Jul 2002 02:46:12 +0000 (02:46 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 9 Jul 2002 02:46:12 +0000 (02:46 +0000)
commita0c8b9d4d5fda80f82553ed91b341a531a846ab6
tree67a5acaca67cc70ea49b2f5cab7ef4d37f411eb5
parentbb493a7039ca56e7f7471128340ad3d854da0305
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.
Lib/email/Message.py