Accept */*
This commit is contained in:
parent
480a0fa9b6
commit
5e7edec23c
|
|
@ -112,7 +112,7 @@ final class JsonApi implements RequestHandlerInterface
|
|||
{
|
||||
$header = $request->getHeaderLine('Accept');
|
||||
|
||||
if (empty($header)) {
|
||||
if (empty($header) || $header === '*/*') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue