merged branch rafalwrzeszcz/feature/esi-xhtml (PR #6274)
This PR was merged into the master branch.
Commits
-------
c331ccd
Added XHTML content type to ESI defaults.
Discussion
----------
Added XHTML content type to ESI defaults.
It took me a while to figure out why Symfony reverse proxy does not handly ESI :P.
This commit is contained in:
commit
e5ba394506
@ -34,9 +34,9 @@ class Esi
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $contentTypes An array of content-type that should be parsed for ESI information.
|
||||
* (default: text/html, text/xml, and application/xml)
|
||||
* (default: text/html, text/xml, application/xhtml+xml, and application/xml)
|
||||
*/
|
||||
public function __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xml'))
|
||||
public function __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xhtml+xml', 'application/xml'))
|
||||
{
|
||||
$this->contentTypes = $contentTypes;
|
||||
}
|
||||
|
Reference in New Issue
Block a user