'get request with query, server and header required'

def http_get_request(self, query, header):

    requests.packages.urllib3.disable_warnings()
    verify_ssl = (not self.noCert)
    try:
        url = (self.server + query)
        res = requests.get(url, headers=header, verify=verify_ssl)
    except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError) as e:
        log.error('A    communication    error    occurred    in    the    GoDocker    job    runner:', e)
        return False
    return self.test_status_code(res)
