code: def build_request(self):
          
          clientheaders = {}
          if (self.parent_url and
              self.parent_url.lower().startswith(HTTP_SCHEMAS)):
              clientheaders["Referer"] = self.parent_url
          kwargs = dict(
              method='GET',
              url=self.url,
              headers=clientheaders,
          )
          if self.auth:
              kwargs['auth'] = self.auth
          log.debug(LOG_CHECK, "Prepare request with %s", kwargs)
          request = requests.Request(**kwargs)
          return self.session.prepare_request(request)
docs: Build a prepared request object.