Add P3P headers to avoid potential issues with IE
This commit is contained in:
@@ -128,6 +128,18 @@ class Response extends Base
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add P3P headers for Internet Explorer
|
||||
*
|
||||
* @access public
|
||||
* @return $this
|
||||
*/
|
||||
public function withP3P()
|
||||
{
|
||||
$this->withHeader('P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set HTTP response body
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user