Content negotiation: pick the best match from the available content types given the client's Accept header, respecting q-factors and wildcards.
Raw Accept header value
Accept
Sorted list of content types the server can serve
Best matching content type, or null if none match
null
Content negotiation: pick the best match from the available content types given the client's Accept header, respecting q-factors and wildcards.