first does the conneg, then checks request parameters