Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added XHTML content type to ESI defaults.

  • Loading branch information...
commit c331ccd5006503d3b93808ca9dc466bea33b9569 1 parent 18c520a
@rafalwrzeszcz rafalwrzeszcz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Symfony/Component/HttpKernel/HttpCache/Esi.php
View
4 src/Symfony/Component/HttpKernel/HttpCache/Esi.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.