Skip to content

Commit 5e7edec

Browse files
committed
Accept */*
1 parent 480a0fa commit 5e7edec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private function validateRequestAccepts(Request $request): void
112112
{
113113
$header = $request->getHeaderLine('Accept');
114114

115-
if (empty($header)) {
115+
if (empty($header) || $header === '*/*') {
116116
return;
117117
}
118118

0 commit comments

Comments
 (0)