Fix accept header in crawler
[phinde.git] / src / phinde / Indexer.php
index bdd5236a72d973b1eaa6b03cd355163deb9149cd..4885b7a9fb86e1cbbb09cda23806925e82f66adc 100644 (file)
@@ -4,8 +4,8 @@ namespace phinde;
 class Indexer
 {
     static $supportedTypes = array(
 class Indexer
 {
     static $supportedTypes = array(
-        'application/xhtml+xml',
-        'text/html',
+        'application/xhtml+xml' => true,
+        'text/html'             => true,
     );
 
     public function run(Retrieved $retrieved)
     );
 
     public function run(Retrieved $retrieved)