[ python-Bugs-1071459 ] email: no way to add additional parameter
to Content-Type
SourceForge.net
noreply at sourceforge.net
Tue Nov 23 06:19:31 CET 2004
Bugs item #1071459, was opened at 2004-11-22 21:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1071459&group_id=5470
Category: Python Library
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Tessa Lau (tlau)
Assigned to: Nobody/Anonymous (nobody)
Summary: email: no way to add additional parameter to Content-Type
Initial Comment:
The iCalendar specification (RFC 2445) requires that
iCalendar objects sent via MIME must include a method
parameter in the Content-Type header which mirrors the
method in the iCalendar object. For example:
Content-Type: text/calendar; method="REQUEST";
charset="UTF-8"
Using Python's email package, it is impossible to
generate a MIMEText which has that method=REQUEST
parameter because the constructor does not allow for
arbitrary parameters, only the subtype and the charset.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1071459&group_id=5470
More information about the Python-bugs-list
mailing list