make urlmatch optionally filter based on request method