/** * @return array */ public function getHttpHeaders() { $headers = parent::getHttpHeaders(); if (count($this->allowedMethods) !== 0) { $headers[] = 'Allow: ' . implode(', ', $this->allowedMethods); } return $headers; }
/** * @return array */ public function getHttpHeaders() { $headers = parent::getHttpHeaders(); $headers[] = 'Proxy-Authenticate: ' . $this->authenticationInfo; return $headers; }