mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
we should not return an etag here, as we never store the PUT ical byte-by-byte
This commit is contained in:
parent
155e3ab3b5
commit
288a88239b
@ -392,7 +392,8 @@ class addressbook_groupdav extends groupdav_handler
|
||||
$contact = $this->read($save_ok);
|
||||
}
|
||||
|
||||
header('ETag: '.$this->get_etag($contact));
|
||||
// we should not return an etag here, as we never store the PUT vcard byte-by-byte
|
||||
//header('ETag: '.$this->get_etag($contact));
|
||||
|
||||
// send GroupDAV Location header only if we dont use carddav_name as path-attribute
|
||||
if ($retval !== true && self::$path_attr == 'id')
|
||||
|
@ -595,7 +595,8 @@ class calendar_groupdav extends groupdav_handler
|
||||
}
|
||||
}
|
||||
|
||||
header('ETag: '.$this->get_etag($cal_id));
|
||||
// we should not return an etag here, as we never store the PUT ical byte-by-byte
|
||||
//header('ETag: '.$this->get_etag($cal_id));
|
||||
|
||||
// send GroupDAV Location header only if we dont use caldav_name as path-attribute
|
||||
if ($retval !== true && self::$path_attr != 'caldav_name')
|
||||
|
@ -292,6 +292,8 @@ class infolog_groupdav extends groupdav_handler
|
||||
if ($this->debug) error_log(__METHOD__."($options[path],...) param-filter='{$filter['attrs']['name']}' not (yet) implemented!");
|
||||
break;
|
||||
case 'time-range':
|
||||
// ToDo: CalDAV time-range for VTODO checks DTSTART, DTEND, DUE and allways includes tasks if none given
|
||||
// see http://tools.ietf.org/html/rfc4791#section-9.9
|
||||
if ($this->debug > 1) error_log(__FILE__ . __METHOD__."($options[path],...) time-range={$filter['attrs']['start']}-{$filter['attrs']['end']}");
|
||||
if (!empty($filter['attrs']['start']))
|
||||
{
|
||||
@ -427,7 +429,8 @@ class infolog_groupdav extends groupdav_handler
|
||||
$retval = '201 Created';
|
||||
}
|
||||
|
||||
header('ETag: '.$this->get_etag($infoId));
|
||||
// we should not return an etag here, as we never store the PUT ical byte-by-byte
|
||||
//header('ETag: '.$this->get_etag($infoId));
|
||||
|
||||
// send GroupDAV Location header only if we dont use caldav_name as path-attribute
|
||||
if ($retval !== true && self::$path_attr != 'caldav_name')
|
||||
|
Loading…
Reference in New Issue
Block a user