Corrected version of github.com/mjackson/rack-accept/blob/master/lib/rack/accept/header.rb#L40-L44
[Validate]