Media type to match.
Media type to match.
True if the media type patterns can match each other.
Filters media types based on the given preferences.
Based on RFC 7231 - Content negotiation.
Will add a default internal/*;q=0
to the preferences to prevent accidental use of internal types.
Since more specific media ranges override less specific ones,
this will be ignored if there is a specific internal type preference.
Preferences for output type.
Media types to compare to the preferences.
The weighted and filtered list of matching types.
Determines whether the given conversion request is supported, given the available content type conversions:
Incoming arguments.
Media types that can be parsed by the converter.
Media types that can be produced by the converter.
Checks if the given two media types/ranges match each other. Takes wildcards into account.