Fix bug with choosing wrong schema w/ e.g. POST and GET to same path

extract_relevant_schema now checks request.method.