Make content type check case-insensitive