[CalendarServer-changes] [3125] CalendarServer/trunk/twistedcaldav/mail.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 6 16:16:23 PDT 2008
Revision: 3125
http://trac.macosforge.org/projects/calendarserver/changeset/3125
Author: sagen at apple.com
Date: 2008-10-06 16:16:23 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
Include method=request in ics mime content-type header
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/mail.py
Modified: CalendarServer/trunk/twistedcaldav/mail.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/mail.py 2008-10-06 23:15:56 UTC (rev 3124)
+++ CalendarServer/trunk/twistedcaldav/mail.py 2008-10-06 23:16:23 UTC (rev 3125)
@@ -751,6 +751,8 @@
# the icalendar attachment
self.log_debug("Mail gateway sending calendar body: %s" % (str(calendar)))
msgIcal = MIMEText(str(calendar), "calendar", "UTF-8")
+ method = calendar.propertyValue("METHOD").lower()
+ msgIcal.set_param("method", method)
msgIcal.add_header("Content-Disposition",
"attachment;filename=invitation.ics")
msg.attach(msgIcal)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081006/4f0b6ebf/attachment.html
More information about the calendarserver-changes
mailing list