Hi all,

I've noticed that when I receive a meeting invite sent from a google account, the accept mail is being sent back but the event is not being added to my calendar.

A bit of debugging reveals this is being returned from the sabre server:

HTTP/1.1 415 Unsupported Media Type
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:sabredav-version>3.2.0</s:sabredav-version>
<s:exception>Sabre\DAV\Exception\UnsupportedMediaT ype</s:exception>
<s:message>Validation error in iCalendar: A calendar object on a CalDAV server MUST NOT have a METHOD property.</s:message>
</d:error>


It seems the ics being posted to Sabre contains a METHOD parameter:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
DTSTART:20170104T170000Z
DTEND:20170104T173000Z
DTSTAMP:20170104T100655Z

A brief google about shows other systems are stripping this property out before posting to caldav servers. I'm unfamiliar with what this property actually does/achieves but I'm reading up.

I'm running Z-push 2.3.4 and Sabredav 3.2.0