def checkHttp(matchtext, url='http://localhost', verifyCertificate=False):
  raw = requests.get(url, verify=verifyCertificate).text
  return matchtext in raw
Connect to an http(s) socket, send a path, return the content returned by
dataset/ETHPy150Open NumentaCorp/agamotto/agamotto/network.py/checkHttp