read scheme from the request