Use first mime type instead of continuing to match

* Fixes issue with curl's 'Accept: */*' or any other wildcard match with
  multiple hits in @types