* query*

def _query(
        self,
        sql,
        url,
        fmt,
        log
    ):
        """* query*
        """
        self.log.info('starting the ``_query`` method')

        try:
            response = requests.get(
                url=url,
                params={
                    "cmd": self._filtercomment(sql),
                    "format": fmt,
                },
                headers={
                    "Cookie": "ASP.NET_SessionId=d0fiwrodvk4rdf21gh3jzr3t; SERVERID=dsa003",
                },
            )
            # print('Response HTTP Status Code: {status_code}'.format(
            #     status_code=response.status_code))
            # print('Response HTTP Response Body: {content}'.format(
            #     content=response.content))
        except requests.exceptions.RequestException:
            print('HTTP Request failed')

        self.log.info('completed the ``_query`` method')
        return response.content