Handle various forms of content_type