<?xml version="1.0" encoding="UTF-8"?>
<?rfc strict="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" docName="draft-ietf-calext-subscription-upgrade-12" category="std" ipr="trust200902" consensus="true" updates="5545" submissionType="IETF" xml:lang="en" version="3" >
  <front>
    <title>Calendar subscription upgrades</title>
    <seriesInfo value="draft-ietf-calext-subscription-upgrade-12" status="Standard" stream="IETF" name="Internet-Draft" asciiName="Internet-Draft"></seriesInfo>
    <seriesInfo name="" value="" status="full-standard"></seriesInfo>
    <author fullname="Michael Douglass">
      <address>
        <postal></postal>
        <email>mdouglass@bedework.com</email>
      </address>
    </author>
    <area>Internet</area>
    <abstract anchor="_fa494f4f-921c-aa68-e3fe-38cddf5cf597">


<t anchor="_ff36581b-9ad7-7647-aca4-bd2ab03503f1">This specification updates RFC5545 to add the value DELETED to the STATUS property.</t>

<t anchor="_2b86dd8c-0d55-541b-79b3-3494a388a099">This specification also adds values to the Preferences Registry defined in RFC7240 to add the subscribe-enhanced-get and limit preferences and to the link relations directory defined in RFC8288.</t>
</abstract>
  </front>
  <middle>
    <section anchor="introduction"><name>Introduction</name>

<t anchor="_d7ee5c60-c89e-70cf-19ce-9d02e383c30c">Currently, clients subscribe to calendar feeds as an iCalendar file which is often published as a resource accessible using the unofficial 'webcal' URI scheme.</t>

<t anchor="_212c4fe6-e448-0395-eb3f-e4be9a821ca6">The only available option for updating that resource is the usual HTTP polling of cached resources using  <xref target="RFC9110" section="8.8.2" relative=""></xref> Last-Modified or <xref target="RFC9110" section="8.8.3" relative=""></xref> Etag.</t>

<t anchor="_876c2037-478e-7937-6122-2b430caffb72">There is the usual tension between clients wishing to see a timely response to changes and servers not wishing to be overloaded by frequent requests for possibly large amounts of data.</t>

<t anchor="_989e07f5-c376-1482-1cb1-73e7ab7af04a">This specification introduces an approach whereby clients can discover a more performant access method. Given the location of the resource as an iCalendar file, the client can perform a HEAD request on the resource and inspect the returned headers which will offer a number of alternative access methods.</t>

<t anchor="_2c2192c1-30ea-4fbe-6da5-32134c5e253b">Given that many clients and servers already support CalDAV this provides an easy upgrade path for those clients. Additionally, an enhanced GET protocol is specified here to allow a lightweight implementation.</t>

<t anchor="_68a994cc-f8ac-6a53-6445-19913b48b586">The use of subscription upgrade may help reduce load on servers, but perhaps more importantly it allows mobile devices to use a more efficient update mechanism, reducing data transferred and presumably improving battery life.</t>

<section anchor="conventions"><name>Terms and Definitions</name>

<t anchor="_2e835703-5dbc-1609-2be1-14ab8cc3772e">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14  <xref target="RFC2119" section="" relative=""></xref> <xref target="RFC8174" section="" relative=""></xref> when, and only when, they appear in all capitals, as shown here.</t>

<t anchor="_cc435b43-7edd-a6b0-a667-46f93028e2d5">Additionally, the rule for URI is included from <xref target="RFC3986" section="" relative=""></xref>.</t>
</section>
</section>
    <section anchor="_discovering_alternative_access_methods"><name>Discovering alternative access methods</name>

<t anchor="_2e719b28-7f79-b2db-fbdc-62f92daf2dde">The advertising of other access points is achieved through the use of the LINK header as defined in  <xref target="RFC8288" section="" relative=""></xref>. New link relation types are defined in this specification - each being associated with a protocol or protocol subset.</t>

<t anchor="_4cf8a8db-44f2-a9af-db05-c92e28546b37">These LINK headers will be delivered when a client carries out a HEAD request targeting the URL of the resource.</t>

<t anchor="_ba04b1cb-ae55-658c-6c24-84cedb750b69" keepWithNext="true">EXAMPLE</t><t anchor="_f7b212af-748d-099c-48f7-03b2fbc937bd">This is an example of a HEAD request and the response from a server that supports the enhanced GET method.</t><sourcecode anchor="_9bea9952-e07b-d7db-df7b-c4fa5bc46f38"><![CDATA[    >> Request <<

    HEAD /caldata/events.ics HTTP/1.1
    Host: example.com
    Accept: text/calendar

    >> Response <<

    HTTP/1.1 200 OK
    Content-Length: xxxx
    Link: <https://example.com/subscribe/events.ics>;
                 rel="subscribe-enhanced-get"]]></sourcecode>

<t anchor="_7bea5450-1d19-0038-e1a3-d11f0e419a49">Note that the target for an upgraded service may be the same as for the initial resource.</t>
</section>
    <section anchor="enhanced-get"><name>Enhanced GET</name>

<section anchor="_general"><name>General</name>

<t anchor="_8abec8ba-820e-3e7b-e294-481058692893">This is a lightweight protocol which allows simple clients to efficiently discover and download changes in the targeted resource.</t>

<t anchor="_d650f93c-570a-2b31-2f30-369c8329f828">It has many similarities to <xref target="RFC6578" section="" relative=""></xref> WebDAV sync and for a server could be implemented as an extension of the specification.</t>

<t anchor="_37d5f8a3-d04c-0811-f5b4-8c06f37830cc">In this protocol the client MUST include the Prefer header field preference "subscribe-enhanced-get". If a sync token is available it is passed as a Sync-Token header field.</t>

<t anchor="_568c8ee1-9dab-4e25-c59c-6428a124f65e">The resource is treated as a set of individual events each of which may be updated or deleted separately. Note that a recurring event and its overrides are treated as a single entity. The client will first fetch the entire iCalendar file. On subsequent requests it uses the Prefer header field and a Sync-Token header field to indicate that it wants a set of changes since the last fetch.</t>

<t anchor="_7cf8e9a2-2216-7923-1ea3-18973089c4f6">If no Sync-Token header field is supplied the server MUST respond with a full set of data and SHOULD set the Preference-Applied header field and a new Sync-Token header field value.</t>

<t anchor="_e5044f35-5c69-d9d8-a4e4-896f66edf8cb">If the token is valid, it SHOULD return with a set of changed entities and MUST set the Preference-Applied header field and a new Sync-Token header field value.</t>

<t anchor="_d607662b-5d77-5a9b-61f0-74251700ecd8">When a server receives an invalid token it MUST return a 409 status (Conflict). The server MAY choose to return an error message in the body.</t>

<t anchor="_1f9c6448-8523-48ae-97bc-d5bcf9855297">The client MUST respond to this error by discarding the cached data and restarting the interaction from scratch, i.e. retrieve the full set of data then poll for updates.</t>

<t anchor="_56dffc73-417c-bad0-9d02-fa17abc2384d">In the absence of a Prefer header field, the server MAY include the Sync-Token header field. This can act as a signal to the client that the server supports the enhanced-get protocol.</t>
</section>

<section anchor="enhanced-get-deletion"><name>Deletions</name>

<t anchor="_6ce1d698-1193-aa62-c5db-955d65d25e3b">When an entity (VEVENT, VTODO or other valid top-level component) is deleted from the source data the server needs to be able to inform a client of the deletion. This specification introduces a new value "DELETED" for the  <xref target="RFC5545" section="3.8.1.11" relative=""></xref> STATUS property.</t>

<t anchor="_ba50b671-6fc7-d836-18fc-ce6c993081ec">On the first enhanced GET after the entity has been deleted a skeleton, but valid, entity will be returned with STATUS: DELETED. The receiving client is free to remove the entity or update its STATUS property.</t>

<t anchor="_9d2fddbe-fbb0-6b65-ff7a-bf4074ade171">On subsequent fetches the entity will not be returned.</t>

<t anchor="_4c1dce8e-5740-0c48-9f27-8089b7c83dc3">As noted above, the skeleton entity returned must be a valid component as defined by the specifications. For example, a VEVENT MUST contain the DTSTAMP, DTSTART and UID properties as well as the STATUS: DELETED property. The DTSTAMP and DTSTART may be generated and the UID MUST be the UID of the deleted entity.</t>
</section>

<section anchor="_paging_the_response"><name>Paging the response</name>

<t anchor="_1dd0afe9-b32f-3a96-bdfa-b056d32c23db">A client may explicitly request a limit on the size of the response by specifying the Prefer header field preference "limit=n" where n is the number of components.</t>

<t anchor="_a756d5f2-25fd-ef38-a525-925f43144525">When a server receives a request specifying such a limit it SHOULD limit the response to that number of components. If the limit causes a truncation in the response the server should respond with a Preference-Applied header specifying the limit that was applied and return a sync token which may be used to retrieve the next batch of data.</t>

<t anchor="_817b5825-5283-184f-6ae2-95644d24f726">This allows the client to immediately resubmit a request for the next batch using the updated token.</t>

<t anchor="_d9fc434a-236e-86f3-df3b-d9b80dfbb205">A server MAY choose to limit the response size. The behavior MUST be as if the client had provided a preference for that size - allowing the client to retrieve the full set of data in batches.</t>

<t anchor="_4919d63e-6a1b-b062-8721-356b9a3cd785">Note that the process above assumes that the current position in the resource is encoded in some way within the sync token.</t>
</section>

<section anchor="_caching_of_responses"><name>Caching of responses</name>

<t anchor="_a3391045-094c-ed56-6bfe-f4e9059e3e30">To enable proper caching of responses the server SHOULD provide a Vary header field defined in  <xref target="RFC7231" section="7.1.4" relative=""></xref> in responses that names the Prefer and Sync-Token header fields along with any other that are appropriate.</t>

<t anchor="_92935cf9-1c0e-1d4c-ae72-b1850cea2108">See <xref target="RFC7240" section="2" relative=""></xref> for a brief comment on use of Vary and Prefer.</t>
</section>

<section anchor="_examples"><name>Examples</name>

<t anchor="_774dc637-96d9-1cda-d6df-cc86584ed270" keepWithNext="true">EXAMPLE  1</t><t anchor="_87846136-785a-36ce-2ffd-38a43722920b">This is an example of the initial request and response from a server that supports the enhanced GET method. Note the use of the Vary header so a caching proxy can key off the client's Sync-Token and preference.</t><sourcecode anchor="_fb59ff80-6b61-bd4d-0ac2-91a03ec75791"><![CDATA[    >> Request <<

    GET /events.ics HTTP/1.1
    Host: example.com
    Accept: text/calendar
    Prefer: subscribe-enhanced-get

    >> Response <<

    HTTP/1.1 200 OK
    Content-Length: xxxx
    Sync-Token: "data:,1234567"
    Preference-Applied: subscribe-enhanced-get
    Vary: Prefer, Sync-Token

    BEGIN:VCALENDAR:
    ?  /* full feed */
    END:VCALENDAR]]></sourcecode>

<t anchor="_47cace8b-34a8-6598-918b-e0c249f38484" keepWithNext="true">EXAMPLE  2</t><t anchor="_9463a022-122e-7b11-7ebd-720850a0aa10">This is an example of the subsequent request and response when no changes have occurred.</t><sourcecode anchor="_a7d81ed0-178d-e1e4-a990-187d93b6b24b"><![CDATA[    >> Request <<

    GET /events.ics HTTP/1.1
    Host: example.com
    Accept: text/calendar
    Prefer: subscribe-enhanced-get
    Sync-Token: "data:,1234567"

    >> Response <<

    HTTP/1.1 304 Not Modified
    Content-Length: 0
    Sync-Token: "data:,1234567"
    Preference-Applied: subscribe-enhanced-get
    Vary: Prefer, Sync-Token]]></sourcecode>

<t anchor="_b7365dcc-04c7-0ea2-d50b-1a4682a35064" keepWithNext="true">EXAMPLE  3</t><t anchor="_5eb02a1a-d4c5-1e3b-c88a-f2792d0a1569">This is an example of the subsequent request and response for an old or invalid token.</t><sourcecode anchor="_f43b8917-fd19-a3d9-ceab-1ef97ec76901"><![CDATA[>> Request <<

    GET /events.ics HTTP/1.1
    Host: example.com
    Accept: text/calendar
    Sync-Token: "data:,1234567"
    Prefer: subscribe-enhanced-get

    >> Response <<

    HTTP/1.1 409 Conflict
    Content-Length: xxxx
    Preference-Applied: subscribe-enhanced-get]]></sourcecode>

<t anchor="_d4dde892-9fe7-46d8-d029-65877983f13a" keepWithNext="true">EXAMPLE  4</t><t anchor="_83f0a95b-13b1-c826-4dda-e52e2981f68a">This is an example of the subsequent request and response when changes have occurred.</t><sourcecode anchor="_e42c952e-25e0-05d7-cc03-224a55afa2fb"><![CDATA[>> Request <<

    GET /events.ics HTTP/1.1
    Host: example.com
    Accept: text/calendar
    Sync-Token: "data:,1234567"
    Prefer: subscribe-enhanced-get

    >> Response <<

    HTTP/1.1 200 OK
    Content-Type: text/calendar
    Vary: Prefer, Sync-Token
    Sync-Token: "data:,4567890"
    Preference-Applied: subscribe-enhanced-get

    BEGIN:VCALENDAR:
    ... only new/changed events
    ... deleted events have STATUS:DELETED
    END:VCALENDAR]]></sourcecode>
</section>
</section>
    <section anchor="_changes_to_the_icalendar_specifications"><name>Changes to the iCalendar specifications</name>

<t anchor="_29a22970-0efe-5133-74e1-e720597825a3">This specification updates <xref target="RFC5545" section="" relative=""></xref> to add the value DELETED to the STATUS property.</t>

<section anchor="_redefined_status_property"><name>Redefined Status property</name>

<dl anchor="_2376f6bd-1915-02af-f7f9-f61928615aa7"><dt>Property name</dt><dd><t anchor="_e9e2f11f-4444-7a4f-b16a-0f05fb524ed1">STATUS</t>
</dd><dt>Purpose</dt><dd><t anchor="_54db6f7a-bb4f-cefb-0ce9-13fcdf15c629">This property defines the overall status or confirmation for the calendar component.</t>
</dd><dt>Value Type</dt><dd><t anchor="_8a9da8ed-8e44-696b-d503-e81b518e6b26">TEXT</t>
</dd><dt>Property Parameters</dt><dd><t anchor="_546412e7-ecbb-674a-c140-8200b980c395">IANA and non-standard property parameters can be specified on this property.</t>
</dd><dt>Conformance</dt><dd><t anchor="_b43e48ff-e12c-0215-a7bb-6ef788657edb">This property can be specified once in "VEVENT", "VTODO", or "VJOURNAL" calendar components.</t>
</dd><dt>Description</dt><dd><t anchor="_724a2909-1f33-d1d2-0ec4-2e891d834e05">In a group-scheduled calendar component, the property is used by the "Organizer" to provide a confirmation of the event to the "Attendees". For example in a "VEVENT" calendar component, the "Organizer" can indicate that a meeting is tentative, confirmed, or cancelled. In a "VTODO" calendar component, the "Organizer" can indicate that an action item needs action, is completed, is in process or being worked on, or has been cancelled. In a "VJOURNAL" calendar component, the "Organizer" can indicate that a journal entry is draft, final, or has been cancelled or removed.</t>
</dd><dt>Format Definition</dt><dd></dd></dl>

<t anchor="_231e90c1-ffec-e6b6-fc02-374775811317">This property is defined by the following notation:</t>

<sourcecode anchor="_bb880c51-3a68-122e-1fb1-b95467c7139b" type="abnf"><![CDATA[status          = "STATUS" statparam ":" statvalue CRLF

statparam       = *(";" other-param)

statvalue       = (statvalue-event
                /  statvalue-todo
                /  statvalue-jour)

statvalue-event = "TENTATIVE"    ;Indicates event is tentative.
                / "CONFIRMED"    ;Indicates event is definite.
                / "CANCELLED"    ;Indicates event was cancelled.
                / "DELETED"      ;Indicates event was deleted.
;Status values for a "VEVENT"

statvalue-todo  = "NEEDS-ACTION" ;Indicates to-do needs action.
                / "COMPLETED"    ;Indicates to-do completed.
                / "IN-PROCESS"   ;Indicates to-do in process of.
                / "CANCELLED"    ;Indicates to-do was cancelled.
                / "DELETED"      ;Indicates to-do was deleted.
;Status values for "VTODO".

statvalue-jour  = "DRAFT"        ;Indicates journal is draft.
                / "FINAL"        ;Indicates journal is final.
                / "CANCELLED"    ;Indicates journal is removed.
                / "DELETED"      ;Indicates journal was deleted.
;Status values for "VJOURNAL".]]></sourcecode>


<dl anchor="_4af90135-7a02-a2bd-4276-61911100b3e9"><dt>Example</dt><dd></dd></dl>

<t anchor="_525e1739-124b-fbc2-5091-b0ebb904af47" keepWithNext="true">EXAMPLE  1</t><t anchor="_5808d986-fa2e-86ae-ace1-9093968a678c">The following is an example of this property for a "VEVENT" calendar component:</t><sourcecode anchor="_c0dd27ef-1c8a-67e0-7dbe-7252d490c0bd"><![CDATA[STATUS:TENTATIVE]]></sourcecode>

<t anchor="_402337a1-5964-d422-064d-30351104807c" keepWithNext="true">EXAMPLE  2</t><t anchor="_a778f0fd-9344-d7e5-eb89-1d536eaec3b6">The following is an example of this property for a "VTODO" calendar component:</t><sourcecode anchor="_a40b89c8-2fa2-a6ec-d4a4-b50ba9628627"><![CDATA[STATUS:NEEDS-ACTION]]></sourcecode>

<t anchor="_31f6b1be-c12c-cfd7-3277-721e42d19d76" keepWithNext="true">EXAMPLE  3</t><t anchor="_bf091c78-5064-e1d6-ba67-6b72a3880c4a">The following is an example of this property for a "VJOURNAL" calendar component:</t><sourcecode anchor="_0b6f8b10-982b-2466-e0d4-8ad397fe3821"><![CDATA[STATUS:DRAFT]]></sourcecode>
</section>
</section>
    <section anchor="_header_field_sync_token"><name>Header Field: Sync-Token</name>

<t anchor="_43ae483c-b315-f00a-d541-b45d784cf6bb">This specification defines a new header field Sync-Token for use by the enhanced GET method.</t>

<sourcecode anchor="_15277a04-01af-b554-418f-3844684011da"><![CDATA[    Sync-Token = DQUOTE URI DQUOTE]]></sourcecode>


<t anchor="_e009b5bd-872a-6b02-7138-a2947134b92f">The value MUST be a URI. This will generally be a data URI representing an opaque token. Client MUST not attempt to interpret the data URI value.</t>

<t anchor="_ec44ec93-612c-8ecd-a5b9-5d39a51e0fcc" keepWithNext="true">EXAMPLE</t><t anchor="_5fc60a4f-1c7d-41aa-bc78-43b7e3eda58e">This is an example of the Sync-Token header field:</t><sourcecode anchor="_d67e1672-4859-a8ef-34fb-b29ff1ac90f2"><![CDATA[    Sync-Token: "data:,1234567"]]></sourcecode>
</section>
    <section anchor="_new_prefer_header_field_preferences"><name>New Prefer header field preferences</name>

<section anchor="preference-subscribe"><name>Preference subscribe-enhanced-get</name>

<t anchor="_142d59ab-6fcf-8c15-41ed-3fd04931d408">This indicates that the client expects the server to handle the GET method according to the specifications for enhanced get.</t>

<sourcecode anchor="_f5698019-cf93-e904-d8c2-50d9ddfe952d"><![CDATA[    pref-subscribe-enhanced-get = "subscribe-enhanced-get"]]></sourcecode>

</section>

<section anchor="preference-limit"><name>Preference limit</name>

<t anchor="_df6822cd-b919-1b7a-094c-0235c379b634">This preference parameter provides a limit on the number of components returned for enhanced get.</t>

<sourcecode anchor="_7b308c38-7eb5-5e02-a0a5-524d53fccda5"><![CDATA[    pref-limit = "limit" BWS "=" BWS 1*DIGIT]]></sourcecode>

</section>
</section>
    <section anchor="_link_relations"><name>Link relations</name>

<section anchor="_general_2"><name>General</name>

<t anchor="_feb4c433-74a0-732f-8c5d-90a076292868">This clause defines a number of new link relations required to facilitate subscription upgrades.</t>
</section>

<section anchor="la-subscribe-caldav"><name>subscribe-caldav</name>

<t anchor="_ca8a2bbd-0925-acc4-6c02-09413d0c0ac6">This specifies an access point which is a full implementation of caldav but requires no authentication. The end point allows the full range of reports as defined by the CalDAV specification.</t>

<t anchor="_97c666a2-6aca-83e5-2504-e30555062b61">The client MUST follow the specification to determine exactly what operations are allowed on the access point - for example to determine if DAV:sync-collection is supported.</t>

<t anchor="_2b85a59b-6994-a7d9-9b79-d0ea668c76d8">The URL MAY include some form of token to allow write access to the targeted collection. The client must check its permissions to determine whether it has been granted write access.</t>
</section>

<section anchor="la-subscribe-caldav-auth"><name>subscribe-caldav-auth</name>

<t anchor="_a721d83f-98c8-74f0-9561-6f2dd7fed1e1">This specifies an access point which is a full implementation of caldav and requires authentication. This may allow read-write access to the resource.</t>

<t anchor="_54623715-b068-a042-07c7-a4980d3551a1">The client MUST follow the specification to determine exactly what operations are allowed on the access point - for example to determine if DAV:sync-collection is supported.</t>
</section>

<section anchor="la-subscribe-webdav-sync"><name>subscribe-webdav-sync</name>

<t anchor="_47e7db08-f047-fb4a-28fd-f22b5defb398">This specifies an access point which supports only webdav sync.</t>

<t anchor="_fb4d2f27-640e-26e9-f82d-5db8aa3afce2">This allows the client to issue a DAV:sync-collection report on the resource to obtain updates.</t>

<t anchor="_4e4f4535-737a-4e57-23a4-f37fc1854aca">The client MUST follow that specification.</t>
</section>

<section anchor="la-subscribe-enhanced-get"><name>subscribe-enhanced-get</name>

<t anchor="_d89b9881-c46f-afce-b94e-268922f687f9">This specifies an access point which supports the enhanced GET protocol defined in  <xref target="enhanced-get"></xref>.</t>

<t anchor="_81630ad2-6dbe-5bb1-8317-d7b5cd4ef7e8">The client and server MUST follow the protocol as defined in <xref target="enhanced-get"></xref>.</t>
</section>
</section>
    <section anchor="security"><name>Security Considerations</name>

<t anchor="_9dfbd2ba-5401-71e6-ed0e-453d40fa0452">Applications using these properties need to be aware of the risks entailed in using the URIs provided as values. See  <xref target="RFC3986" section="" relative=""></xref> for a discussion of the security considerations relating to URIs.</t>
</section>
    <section anchor="privacy"><name>Privacy Considerations</name>

<t anchor="_d7b1353e-cd62-3e09-2929-c42275b5969a">Properties with a "URI" value type can expose their users to privacy leaks as any network access of the URI data can be tracked. Clients SHOULD NOT automatically download data referenced by the URI without explicit instruction from users. This specification does not introduce any additional privacy concerns beyond those described in <xref target="RFC5545" section="" relative=""></xref>.</t>
</section>
    <section anchor="iana"><name>IANA Considerations</name>

<section anchor="_sync_token_http_header_field_registration"><name>Sync-Token HTTP Header Field Registration</name>

<t anchor="_cb8c25cd-ed17-031d-8d14-163eba4d541c">This specification updates the "Message Headers" registry entry for "Sync-Token" in <xref target="RFC3864" section="" relative=""></xref> to refer to this document.</t>

<figure anchor="_e1081614-24cf-c9e6-4e69-acc72f77226a"><artwork anchor="_1a838bb1-6167-79e3-3e59-01f1a26703cb" type="ascii-art"><![CDATA[Header Field Name: Sync-Token
Protocol: http
Status: standard
Reference: <this-document>]]></artwork></figure>
</section>

<section anchor="_preference_registrations"><name>Preference Registrations</name>

<t anchor="_d0ae35e3-3267-f0a4-a2e2-e739f99f7acd">The following preferences have been added to the HTTP Preferences Registry defined in <xref target="RFC7240" section="" relative=""></xref></t>

<dl anchor="_9ab424e4-fec2-8767-49db-48cb6a6536ec"><dt>Preference</dt><dd><t anchor="_398088f0-0aea-76f8-dceb-459b8b9e20cd">subscribe-enhanced-get</t>
</dd><dt>Value</dt><dd><t anchor="_35d36ba6-e725-ee1b-ded4-8cc1e93f792b">None.</t>
</dd><dt>Description</dt><dd><t anchor="_142c16e7-e255-8b28-b829-61c5bd5a4771">Marks the interaction as enhanced get and provides the optional sync-token and page size.</t>
</dd><dt>Reference</dt><dd><t anchor="_735cad53-c244-8619-cf86-0651ca91736a">this document</t>
</dd><dt>Preference</dt><dd><t anchor="_22e49a7a-caaf-3b66-b618-c487a4a1ceeb">limit</t>
</dd><dt>Value</dt><dd><t anchor="_1071526e-97c3-8946-8998-cd9d191c1f05">An integer page size.</t>
</dd><dt>Description</dt><dd><t anchor="_b037c471-539b-b646-b3cb-db9c0ed44710">Provide a limit on the number of components in the response.</t>
</dd><dt>Reference</dt><dd><t anchor="_b37c96b3-ad29-e83c-2d92-ee5782a2f94b">this document</t>
</dd></dl>
</section>

<section anchor="_link_relation_registrations"><name>Link Relation Registrations</name>

<t anchor="_57b62f4b-dab9-9c97-bc46-a2223398d822">The following link relation values have been added to the Reference Types Registry defined in  <xref target="RFC8288" section="6.2.2" relative=""></xref>:</t>

<table anchor="_c5fd32be-0085-fd46-0de0-75c9cf6e1558"><thead><tr><th align="left">Relation Name</th><th align="left">Description</th><th align="left">Reference</th></tr></thead><tbody><tr><td align="left"><t anchor="_cf90ab03-d8c7-b84e-92d7-a767f10b5043">subscribe-caldav</t>
</td><td align="left"><t anchor="_73251bc8-2e49-3b70-024c-0155fdefc777">Current</t>
</td><td align="left"><t anchor="_9fcf3fa2-062f-f68a-10a4-f110f2d6b414"><xref target="la-subscribe-caldav"></xref></t>
</td></tr><tr><td align="left"><t anchor="_42d3343a-e00c-0ca8-8e3e-b2251d38d3de">subscribe-caldav_auth</t>
</td><td align="left"><t anchor="_9622f293-76ac-81af-5103-a174e3352399">Current</t>
</td><td align="left"><t anchor="_8a1e0d25-e611-b848-0a18-101defbbe24c"><xref target="la-subscribe-caldav-auth"></xref></t>
</td></tr><tr><td align="left"><t anchor="_721951aa-3f14-1256-b13c-7b392a0c6832">subscribe-webdav-sync</t>
</td><td align="left"><t anchor="_50fdd890-ca4a-b378-1f49-4921d1a56756">Current</t>
</td><td align="left"><t anchor="_207793c7-21fd-61c8-1f6c-e6df60e9b0eb"><xref target="la-subscribe-webdav-sync"></xref></t>
</td></tr><tr><td align="left"><t anchor="_683fe659-18e5-0737-9d24-e4a3703aaadf">subscribe-enhanced_get</t>
</td><td align="left"><t anchor="_19f4950c-7864-4389-3ce2-397a10882a9c">Current</t>
</td><td align="left"><t anchor="_80240d2f-632b-825d-3580-759d3ddcb264"><xref target="la-subscribe-enhanced-get"></xref></t>
</td></tr></tbody></table>
</section>

<section anchor="_new_and_updated_icalendar_elements_registration"><name>New and updated iCalendar Elements Registration</name>

<t anchor="_a02f21a3-caf7-1b57-fff1-93062249f872">This specification updates <xref target="RFC5545" section="" relative=""></xref> by adding and updating a number of elements according to the procedures and templates specified in <xref target="RFC5545" section="8.2" relative=""></xref>.</t>

<section anchor="_initialization_of_the_status_registry"><name>Initialization of the Status registry</name>

<t anchor="_49b66124-11e8-fc97-0711-27dcc9e8d08c">This specification updates <xref target="RFC5545" section="" relative=""></xref> by adding a Status value registry to the iCalendar Elements registry located here:  <eref target="https://www.iana.org/assignments/icalendar"></eref>&#x3e; and initializing it as per <xref target="RFC5545" section="" relative=""></xref>.</t>

<table anchor="_65657308-7837-a18e-46cb-d607552828c7"><name>Initial Status Value Registry</name><thead><tr><th align="left">Name</th><th align="left">Status</th><th align="left">Reference</th></tr></thead><tbody><tr><td align="left"><t anchor="_6f7b2314-e623-604e-5e70-5d313cdc57f4">CANCELLED</t>
</td><td align="left"><t anchor="_10107f28-8665-83e9-02fe-8393e7b068ed">Current</t>
</td><td align="left"><t anchor="_0765c987-d43f-cf99-0161-31938c5f1a72"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_f3d197db-717d-677d-69c5-69d20a1b99f9">COMPLETED</t>
</td><td align="left"><t anchor="_3bcbb0c3-713d-2a12-babc-9c1c28412394">Current</t>
</td><td align="left"><t anchor="_9f8fb4dd-9c05-028f-7810-db08e733d857"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_8f06525f-781d-3893-6be8-4264177c23e4">CONFIRMED</t>
</td><td align="left"><t anchor="_8a6e9227-37db-63ad-65f9-99e60f31b874">Current</t>
</td><td align="left"><t anchor="_bf81d825-f1ad-c6ea-6598-57f1c5e56b24"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_d3bcb09c-49ff-1f6d-8ffd-466e71222505">DRAFT</t>
</td><td align="left"><t anchor="_af5c287f-0489-18a5-57df-c24e04806161">Current</t>
</td><td align="left"><t anchor="_02bccbb9-1fc2-4ae0-c32a-b02adb6b30d5"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_39984d27-1984-fcd7-d19f-35c238a0312c">FINAL</t>
</td><td align="left"><t anchor="_7abec697-7535-57b8-612e-f0309eecb970">Current</t>
</td><td align="left"><t anchor="_47e0facf-2051-1e5d-f007-656505c67fb8"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_2a2ecf71-b47d-1ba1-d10e-178afc84c0f1">IN-PROCESS</t>
</td><td align="left"><t anchor="_157c896a-1751-27c8-746c-8c821c36befb">Current</t>
</td><td align="left"><t anchor="_6e7ff5ab-5d60-5b4d-7199-fb4af067847e"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_814313a1-d8f3-0166-26af-3fbe805b5e9c">NEEDS-ACTION</t>
</td><td align="left"><t anchor="_4c6f5ba5-6e48-6b10-9111-0a7f2ac604fc">Current</t>
</td><td align="left"><t anchor="_b9107741-d86a-3550-ce70-3361839f4f6e"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr><tr><td align="left"><t anchor="_99ccf917-2f23-4c45-6af9-6136b665245d">TENTATIVE</t>
</td><td align="left"><t anchor="_5f7b5a2b-2da7-6104-be32-b8afbb8de300">Current</t>
</td><td align="left"><t anchor="_00b0a7d3-fd52-741e-8529-f12ac7bca41d"><xref target="RFC5545" section="3.8.1.11" relative=""></xref></t>
</td></tr></tbody></table>
</section>

<section anchor="_update_of_the_status_registry"><name>Update of the Status registry</name>

<t anchor="_808cf423-e6ed-371d-1013-3bc1458a0063">This specification further updates the Status registry with the additional DELETED value defined in this document.</t>

<table anchor="_a6e41e61-bc7e-4a5c-87a0-b45b6ae5d515"><name>Updated Status Value Registry</name><thead><tr><th align="left">Value</th><th align="left">Status</th><th align="left">Reference</th></tr></thead><tbody><tr><td align="left"><t anchor="_7f7ebf2f-841e-d3f0-2cb2-99067ca17e38">DELETED</t>
</td><td align="left"><t anchor="_7e62abe8-c658-772e-87d3-1f5e71a7ac3d">Current</t>
</td><td align="left"><t anchor="_c67a9256-0b3a-e2ca-0cf1-823db93d4180">This Spec, <xref target="enhanced-get-deletion"></xref></t>
</td></tr></tbody></table>
</section>
</section>
</section>
    <section anchor="acknowledgements"><name>Acknowledgements</name>

<t anchor="_ebe41a19-f81f-e531-744a-cc642670d648">The author would like to thank the members of the CalConnect Calendar Sharing technical committee and the following individuals for contributing their ideas and support:</t>

<t anchor="_30857e01-7a79-00a0-0cdf-38ae126637a5">Marten Gajda, Ken Murchison, Garry Shutler</t>
</section>
  </middle>
  <back>
    <references anchor="_normative_references">
      <name>Normative References</name>
      <reference target="https://www.rfc-editor.org/info/rfc2119" anchor="RFC2119"><stream>IETF</stream> <front> <title>Key words for use in RFCs to Indicate Requirement Levels</title> <author fullname="S. Bradner" asciiFullname="S. Bradner"></author> <date month="March" year="1997"></date> <keyword>Standards</keyword><keyword>Track</keyword><keyword>Documents</keyword> <abstract>  <t anchor="_349eae68-a8a3-0c01-e665-a6dc84c36d2e">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc2119" type="src"></format> <seriesInfo value=" 10.17487/RFC2119" name="DOI"></seriesInfo> <seriesInfo value="14" name="BCP"></seriesInfo> <seriesInfo value="2119" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc3864" anchor="RFC3864"><stream>IETF</stream> <front> <title>Registration Procedures for Message Header Fields</title> <author fullname="G. Klyne" asciiFullname="G. Klyne"></author> <author fullname="M. Nottingham" asciiFullname="M. Nottingham"></author> <author fullname="J. Mogul" asciiFullname="J. Mogul"></author> <date month="September" year="2004"></date> <keyword>Internet mail</keyword><keyword>HTTP</keyword><keyword>Netnews</keyword> <abstract>  <t anchor="_ee1c4301-911b-b061-8fc9-75bcd03179c4">This specification defines registration procedures for the message header fields used by Internet mail, HTTP, Netnews and other applications. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc3864" type="src"></format> <seriesInfo value=" 10.17487/RFC3864" name="DOI"></seriesInfo> <seriesInfo value="90" name="BCP"></seriesInfo> <seriesInfo value="3864" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc3986" anchor="RFC3986"><stream>IETF</stream> <front> <title>Uniform Resource Identifier (URI): Generic Syntax</title> <author fullname="T. Berners-Lee" asciiFullname="T. Berners-Lee"></author> <author fullname="R. Fielding" asciiFullname="R. Fielding"></author> <author fullname="L. Masinter" asciiFullname="L. Masinter"></author> <date month="January" year="2005"></date> <keyword>Internet protocol</keyword><keyword>IP</keyword><keyword>uniform resource identifier</keyword><keyword>URI</keyword><keyword>www</keyword><keyword>world wide web</keyword> <abstract>  <t anchor="_376c3368-d608-47b6-e786-a6302d7ac515">A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet. The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier. This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme. [STANDARDS-TRACK]</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc3986" type="src"></format> <seriesInfo name="STD" value="66"></seriesInfo> <seriesInfo value=" 10.17487/RFC3986" name="DOI"></seriesInfo> <seriesInfo value="66" name="BCP"></seriesInfo> <seriesInfo value="3986" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc5545" anchor="RFC5545"><stream>IETF</stream> <front> <title>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</title> <author fullname="B. Desruisseaux" asciiFullname="B. Desruisseaux"></author> <date month="September" year="2009"></date> <keyword>calsify</keyword><keyword>calsched</keyword><keyword>calsch</keyword><keyword>caldav</keyword><keyword>calendar</keyword><keyword>calendaring</keyword><keyword>meeting</keyword><keyword>event</keyword><keyword>task</keyword><keyword>to-do</keyword><keyword>journal</keyword><keyword>appointment</keyword><keyword>agenda</keyword><keyword>schedule</keyword><keyword>scheduling</keyword><keyword>ical</keyword><keyword>icalendar</keyword><keyword>itip</keyword><keyword>imip</keyword><keyword>text/calendar</keyword><keyword>ischedule</keyword><keyword>xCalendar</keyword> <abstract>  <t anchor="_fa83dcfc-ee7d-310a-53f7-4a216170219f">This document defines the iCalendar data format for representing and exchanging calendaring and scheduling information such as events, to-dos, journal entries, and free/busy information, independent of any particular calendar service or protocol. [STANDARDS-TRACK]</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc5545" type="src"></format> <seriesInfo value=" 10.17487/RFC5545" name="DOI"></seriesInfo> <seriesInfo value="5545" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc6578" anchor="RFC6578"><stream>IETF</stream> <front> <title>Collection Synchronization for Web Distributed Authoring and Versioning (WebDAV)</title> <author fullname="C. Daboo" asciiFullname="C. Daboo"></author> <author fullname="A. Quillaud" asciiFullname="A. Quillaud"></author> <date month="March" year="2012"></date> <keyword>sync-collection</keyword><keyword>sync-token</keyword> <abstract>  <t anchor="_35d554c0-3679-95b4-b0bc-1e33c38aa956">This specification defines an extension to Web Distributed Authoring and Versioning (WebDAV) that allows efficient synchronization of the contents of a WebDAV collection. [STANDARDS-TRACK]</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc6578" type="src"></format> <seriesInfo value=" 10.17487/RFC6578" name="DOI"></seriesInfo> <seriesInfo value="6578" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc7231" anchor="RFC7231"><stream>IETF</stream> <front> <title>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</title> <author fullname="R. Fielding" asciiFullname="R. Fielding"></author> <author fullname="J. Reschke" asciiFullname="J. Reschke"></author> <date month="June" year="2014"></date> <keyword>Hypertext Transfer Protocol</keyword><keyword>HTTP</keyword><keyword>HTTP semantics</keyword><keyword>HTTP payload</keyword><keyword>HTTP content</keyword><keyword>HTTP method</keyword><keyword>HTTP status code</keyword> <abstract>  <t anchor="_8ba8c4b2-9b65-f4ca-57bb-c490858ebfc1">The Hypertext Transfer Protocol (HTTP) is a stateless \%application- level protocol for distributed, collaborative, hypertext information systems. This document defines the semantics of HTTP/1.1 messages, as expressed by request methods, request header fields, response status codes, and response header fields, along with the payload of messages (metadata and body content) and mechanisms for content negotiation.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc7231" type="src"></format> <seriesInfo value=" 10.17487/RFC7231" name="DOI"></seriesInfo> <seriesInfo value="7231" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc7240" anchor="RFC7240"><stream>IETF</stream> <front> <title>Prefer Header for HTTP</title> <author fullname="J. Snell" asciiFullname="J. Snell"></author> <date month="June" year="2014"></date> <keyword>http</keyword><keyword>prefer</keyword> <abstract>  <t anchor="_23bd17a1-fcd3-68e3-9448-b0fde5f65001">This specification defines an HTTP header field that can be used by a client to request that certain behaviors be employed by a server while processing a request.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc7240" type="src"></format> <seriesInfo value=" 10.17487/RFC7240" name="DOI"></seriesInfo> <seriesInfo value="7240" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc8174" anchor="RFC8174"><stream>IETF</stream> <front> <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title> <author fullname="B. Leiba" asciiFullname="B. Leiba"></author> <date month="May" year="2017"></date> <abstract>  <t anchor="_a2a67dcc-c0ea-f3a3-af38-52f883806949">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc8174" type="src"></format> <seriesInfo value=" 10.17487/RFC8174" name="DOI"></seriesInfo> <seriesInfo value="14" name="BCP"></seriesInfo> <seriesInfo value="8174" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc8288" anchor="RFC8288"><stream>IETF</stream> <front> <title>Web Linking</title> <author fullname="M. Nottingham" asciiFullname="M. Nottingham"></author> <date month="October" year="2017"></date> <keyword>link relation</keyword> <abstract>  <t anchor="_df68328f-f9f0-ae57-1c10-5e3ac82d314c">This specification defines a model for the relationships between resources on the Web ("links") and the type of those relationships ("link relation types").</t>  <t anchor="_6cc2b822-5b3b-ef3e-1f94-24177258edf2">It also defines the serialisation of such links in HTTP headers with the Link header field.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc8288" type="src"></format> <seriesInfo value=" 10.17487/RFC8288" name="DOI"></seriesInfo> <seriesInfo value="8288" name="RFC"></seriesInfo></reference>
      <reference target="https://www.rfc-editor.org/info/rfc9110" anchor="RFC9110"><stream>IETF</stream> <front> <title>HTTP Semantics</title> <author fullname="R. Fielding" asciiFullname="R. Fielding"></author> <author fullname="M. Nottingham" asciiFullname="M. Nottingham"></author> <author fullname="J. Reschke" asciiFullname="J. Reschke"></author> <date month="June" year="2022"></date> <keyword>Hypertext Transfer Protocol</keyword><keyword>HTTP</keyword><keyword>HTTP semantics</keyword><keyword>HTTP content</keyword><keyword>HTTP method</keyword><keyword>HTTP status code</keyword> <abstract>  <t anchor="_d6038fe8-7672-60fa-54c5-cfa873a886d9">The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes.</t>  <t anchor="_7fb19ef4-5006-ca35-e86a-2ca15e97efc0">This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.</t></abstract> </front> <format target="https://www.rfc-editor.org/info/rfc9110" type="src"></format> <seriesInfo name="STD" value="97"></seriesInfo> <seriesInfo value=" 10.17487/RFC9110" name="DOI"></seriesInfo> <seriesInfo value="97" name="BCP"></seriesInfo> <seriesInfo value="9110" name="RFC"></seriesInfo></reference>
    </references>
  </back>
</rfc>
