You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently passing in an accept header equals */* does not work. It tells that there's no match and EncodingNegotiator::getBest() returns null instead it should return the highest prioritized available content type.
$negotiator = newEncodingNegotiator();
$mediaType = $negotiator->getBest('*/*', ['application/json']);
var_dump($mediaType); // -> null, but should be 'application/json'
The text was updated successfully, but these errors were encountered:
Currently passing in an accept header equals
*/*
does not work. It tells that there's no match andEncodingNegotiator::getBest()
returnsnull
instead it should return the highest prioritized available content type.The text was updated successfully, but these errors were encountered: