Refactor Rack::Mime.match? conditionals to make them a bit cleaner