Fix the mime_types issue once and for all.
Fix the mime_types issue once and for all.

Although it's been difficult to reproduce, there is anecdotal evidence that this will sometimes raise an exception because `candidates` is `nil`.  An extra test here won't hurt anything.
apotterri/api-ruby,conjurinc/api-ruby,conjurinc/api-ruby