code: def match(self, opr, path):
          
          _url = urlparse.urlparse(path)
          if not _url.path or not opr:
              return False
          if _url.path in self.free_routes:
              return True
          if _url.path not in self.routes:
              return False
          return opr in self.routes[_url.path]['oprs']
docs: 检查操作员是否匹配资源