Skip to content
This repository
Browse code

Added XHTML content type to ESI defaults.

  • Loading branch information...
commit c331ccd5006503d3b93808ca9dc466bea33b9569 1 parent 18c520a
Rafał Wrzeszcz authored December 12, 2012
4  src/Symfony/Component/HttpKernel/HttpCache/Esi.php
@@ -34,9 +34,9 @@ class Esi
34 34
      * Constructor.
35 35
      *
36 36
      * @param array $contentTypes An array of content-type that should be parsed for ESI information.
37  
-     *                           (default: text/html, text/xml, and application/xml)
  37
+     *                           (default: text/html, text/xml, application/xhtml+xml, and application/xml)
38 38
      */
39  
-    public function __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xml'))
  39
+    public function __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xhtml+xml', 'application/xml'))
40 40
     {
41 41
         $this->contentTypes = $contentTypes;
42 42
     }

0 notes on commit c331ccd

Please sign in to comment.
Something went wrong with that request. Please try again.