iCalendar.org

  * [ Home  ](/Home.html)
  * Specifications ****
    * [ iCalendar (RFC 5545)  ](/RFC-Specifications/iCalendar-RFC-5545/)
    * [ New Properties for iCalendar (RFC 7986)  ](/RFC-Specifications/iCalendar-RFC-7986/)
    * [ iCalendar Venue (Draft)  ](/RFC-Specifications/iCalendar-Venue-Draft/)
    * [ CalDAV Access (RFC 4791)  ](/RFC-Specifications/CalDAV-Access-RFC-4791/)
    * [ CalDAV Scheduling (RFC 6638)  ](/RFC-Specifications/CalDAV-Scheduling-RFC-6638/)
  * [ Validator  ](/validator.html)
  * [ PHP Library  ](/php-library.html)
  * [ RRULE Tool  ](/rrule-tool.html)
  * [ Resources  ](/resources.html)
  * [ News  ](/News/)
  * [ Contact Us  ](/contact-us.html)

[ ![iCalendar.org](https://icalendar.org/images/clipart/icalendar600.png) ](/)

  1. You are here: 
  2. [ Home  ](/Home.html)
  3. [ Specifications  ](/RFC-Specifications/all/)
  4. [ iCalendar (RFC 5545)  ](/RFC-Specifications/iCalendar-RFC-5545/)
  5. 8.1. iCalendar Media Type Registration 

Try out our new [ RRULE tool ](/rrule-tool.html) for creating RRULE compatible
strings.

#  8.1. iCalendar Media Type Registration

f  Share

URL

The Calendaring and Scheduling Core Object Specification is intended for use
as a MIME content type.

##  To

ietf-types@iana.org

##  Subject

Registration of media type text/calendar

Type name: text

Subtype name: calendar

Required parameters: none

Optional parameters: charset, method, component, and optinfo

The "charset" parameter is defined in [RFC2046] for subtypes of the "text"
media type. It is used to indicate the charset used in the body part. The
charset supported by this revision of iCalendar is UTF-8. The use of any other
charset is deprecated by this revision of iCalendar; however, note that this
revision requires that compliant applications MUST accept iCalendar streams
using either the UTF-8 or US-ASCII charset.

The "method" parameter is used to convey the iCalendar object method or
transaction semantics for the calendaring and scheduling information. It also
is an identifier for the restricted set of properties and values of which the
iCalendar object consists. The parameter is to be used as a guide for
applications interpreting the information contained within the body part. It
SHOULD NOT be used to exclude or require particular pieces of information
unless the identified method definition specifically calls for this behavior.
Unless specifically forbidden by a particular method definition, a
text/calendar content type can contain any set of properties permitted by the
Calendaring and Scheduling Core Object Specification. The "method" parameter
MUST be specified and MUST be set to the same value as the [ "METHOD"
](/iCalendar-RFC-5545/3-7-2-method.html) component property of the iCalendar
objects of the iCalendar stream if and only if the iCalendar objects in the
iCalendar stream all have a [ "METHOD" ](/iCalendar-
RFC-5545/3-7-2-method.html) component property set to the same value.

The value for the "method" parameter is defined as follows:

    
    
     method  = 1*(ALPHA / DIGIT / "-")
     ; IANA-registered iCalendar object method

The "component" parameter conveys the type of iCalendar calendar component
within the body part. If the iCalendar object contains more than one calendar
component type, then multiple component parameters MUST be specified.

The value for the "component" parameter is defined as follows:

    
    
     component = ["VEVENT"](/iCalendar-RFC-5545/3-6-1-event-component.html)
               / ["VTODO"](/iCalendar-RFC-5545/3-6-2-to-do-component.html)
               / ["VJOURNAL"](/iCalendar-RFC-5545/3-6-3-journal-component.html)
               / ["VFREEBUSY"](/iCalendar-RFC-5545/3-6-4-free-busy-component.html)
               / ["VTIMEZONE"](/iCalendar-RFC-5545/3-6-5-time-zone-component.html)
               / iana-token
               / x-name

The "optinfo" parameter conveys optional information about the iCalendar
object within the body part. This parameter can on