federomero/negotiator — pull request #21 by benesch (2014-06-23 19:48:01+00:00)
Title: mediaType: handle invalid provided content types

If a user specifies an invalid content type

new Negotiator(req).mediaType(['boom'])

negotiator blows up with a null pointer error. Handle this case by
ignoring the invalid provided content type.