code: def match_url(self, path, method='GET'):
          
          path = path.strip().lstrip('/')
          handler, param = self.routes.match(method + ';' + path)
          if handler: return handler, param
          if method == 'HEAD':
              handler, param = self.routes.match('GET;' + path)
              if handler: return handler, param
          handler, param = self.routes.match('ANY;' + path)
          if handler: return handler, param
          return None, {}
docs: Find a callback bound to a path and a specific HTTP method.
              Return (callback, param) tuple or (None, {}).
              method: HEAD falls back to GET. HEAD and GET fall back to ALL.