Add P3P headers to avoid potential issues with IE

This commit is contained in:
Frederic Guillot
2016-11-09 19:11:51 -05:00
parent d261f4146d
commit 544da3150a
2 changed files with 13 additions and 0 deletions

View File

@@ -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
*