code: def stats(self):
          
          status, _, body = self._request('GET', self.stats_path(),
                                          {'Accept': 'application/json'})
          if status == 200:
              return json.loads(bytes_to_str(body))
          else:
              return None
docs: Gets performance statistics and server information