def similar(self, r):
    if self.hostname != r.hostname or \
       self.port != r.port or \
       self.use_ssl != r.use_ssl or \
       self.path != r.path:
      return False
    return True
Compare two requests based on the host, port, use of ssl and path
dataset/ETHPy150Open tweksteen/burst/burst/http.py/Request.similar