diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index e0963fae..01711e09 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -105,6 +105,11 @@ class CalDAVRequest */ public $ticket; + /** + * Whether this request included the 'Brief: T' header. + */ + public $brief_response; + /** * Create a new CalDAVRequest object. */ @@ -113,6 +118,8 @@ class CalDAVRequest $this->options = $options; if ( !isset($this->options['allow_by_email']) ) $this->options['allow_by_email'] = false; + + $this->brief_response = (isset($_SERVER['HTTP_BRIEF']) && (strtoupper($_SERVER['HTTP_BRIEF']) == 'T')); /** * Our path is /