 core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
index e2c73bb..21357a1 100644
--- a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
+++ b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
@@ -51,6 +51,10 @@ public function testGetRequestFilter() {
     $request = Request::create('path/two', 'GET');
     $routes = $this->matcher->filter($collection, $request);
     $this->assertEquals(count($routes), 7, 'The correct number of routes was found.');
+
+    $request = Request::create('path/two', 'HEAD');
+    $routes = $this->matcher->filter($collection, $request);
+    $this->assertEquals(count($routes), 7, 'The correct number of routes was found.');
   }
 
   /**
