global

def quality_factor

@returns [Float] the quality factor, which defaults to 1.0 if not specified.

The quality factor associated with the media range, which is used to determine the order of preference.
def quality_factor
	parameters.fetch("q", 1.0).to_f
end