Accept */*

This commit is contained in:
Toby Zerner 2019-10-03 15:38:02 +09:30
parent 480a0fa9b6
commit 5e7edec23c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ final class JsonApi implements RequestHandlerInterface
{
$header = $request->getHeaderLine('Accept');
if (empty($header)) {
if (empty($header) || $header === '*/*') {
return;
}