src/Routing/Routes.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Routing/Routes.php b/src/Routing/Routes.php index 0c93cfd..08dd13f 100644 --- a/src/Routing/Routes.php +++ b/src/Routing/Routes.php @@ -132,9 +132,6 @@ class Routes implements ContainerInjectionInterface { // All routes serve only the JSON:API media type. $routes->addRequirements(['_format' => 'api_json']); - // Require the JSON:API media type header on every route. - $routes->addRequirements(['_content_type_format' => 'api_json']); - return $routes; }