I'd prefer we create a method that returns a media type with Content-Type stripped, and you could call regular equals() on that.