code: def headers(self, url):
          
          if self._token and url.lower().startswith('https'):
              return {'Authorization': 'Bearer {}'.format(self._token)}
          else:
              return None
docs: Returns the https headers with credentials, if token is used and url is https
          :param url: url to be queried, including scheme
          :return: dict or None