docs: def after_start_check(self):
          """Check if defined URL returns expected status to a HEAD request."""
          try:
              conn = HTTPConnection(self.host, self.port)
  
              conn.request('HEAD', self.url.path)
              status = str(conn.getresponse().status)
  
              if status == self.status or self.status_re.match(status):
                  conn.close()
                  return True
  
          except (HTTPException, socket.timeout, socket.error):
              return False