request.mode does the right thing now