Set content type corresponding to renderer