code: def get_online_version ():
      
      # prevent getting a cached answer
      headers = {'Pragma': 'no-cache', 'Cache-Control': 'no-cache'}
      content, info = get_content(UPDATE_URL, addheaders=headers)
      if content is None:
          return content, info
      version, url = None, None
      for line in content.splitlines():
          if line.startswith(VERSION_TAG):
              version = line.split(':', 1)[1].strip()
          elif line.startswith(URL_TAG):
              url = line.split(':', 1)[1].strip()
              url = url.replace('${version}', version)
      return version, url
docs: Download update info and parse it.