commit | a0c8b9d4d5fda80f82553ed91b341a531a846ab6 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Jul 09 02:46:12 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Jul 09 02:46:12 2002 +0000 |
tree | 67a5acaca67cc70ea49b2f5cab7ef4d37f411eb5 | |
parent | bb493a7039ca56e7f7471128340ad3d854da0305 [diff] |
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.