"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core-bundle/src/Resources/contao/library/Contao/Template.php" between
contao-4.11.3.tar.gz and contao-4.11.4.tar.gz

About: Contao (fka TYPOlight) is a content management system (CMS). Latest release.

Template.php  (contao-4.11.3):Template.php  (contao-4.11.4)
skipping to change at line 327 skipping to change at line 327
* Return a response object * Return a response object
* *
* @return Response The response object * @return Response The response object
*/ */
public function getResponse() public function getResponse()
{ {
$this->compile(); $this->compile();
$response = new Response($this->strBuffer); $response = new Response($this->strBuffer);
$response->headers->set('Content-Type', $this->strContentType . ' ; charset=' . Config::get('characterSet')); $response->headers->set('Content-Type', $this->strContentType . ' ; charset=' . Config::get('characterSet'));
$response->headers->set('Permissions-Policy', 'interest-cohort=() ');
// Mark this response to affect the caching of the current page b ut remove any default cache headers // Mark this response to affect the caching of the current page b ut remove any default cache headers
$response->headers->set(SubrequestCacheSubscriber::MERGE_CACHE_HE ADER, true); $response->headers->set(SubrequestCacheSubscriber::MERGE_CACHE_HE ADER, true);
$response->headers->remove('Cache-Control'); $response->headers->remove('Cache-Control');
return $response; return $response;
} }
/** /**
* Return a route relative to the base URL * Return a route relative to the base URL
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)