diff --git a/core/lib/Drupal/Core/EventSubscriber/ResponseGeneratorSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/ResponseGeneratorSubscriber.php new file mode 100644 -index 0000000..7e65366 +index 0000000..15e2f27 --- /dev/null +++ b/core/lib/Drupal/Core/EventSubscriber/ResponseGeneratorSubscriber.php -@@ -0,0 +1,45 @@ +@@ -0,0 +1,44 @@ +renderer->render($html); - // Set the generator in the HTTP header. - list($version) = explode('.', \Drupal::VERSION, 2); - - $response = new CacheableResponse($content, 200,[ - 'Content-Type' => 'text/html; charset=UTF-8', +- $response = new CacheableResponse($content, 200,[ - 'X-Generator' => 'Drupal ' . $version . ' (https://www.drupal.org)' - ]); +- ]); ++ $response = new CacheableResponse($content, 200); // Bubble the cacheability metadata associated with the rendered render + // arrays to the response.