code: def update_url(self, url=None, regex=None):
          
  
          if not url and not regex:
              raise ValueError("Neither a url or regex was provided to update_url.")
  
          headers = {
              'X-Prerender-Token': self.token,
              'Content-Type': 'application/json',
          }
          data = {
              'prerenderToken': settings.PRERENDER_TOKEN,
          }
          if url:
              data["url"] = url
          if regex:
              data["regex"] = regex
  
          r = self.session.post(self.RECACHE_URL, headers=headers, data=data)
          return r.status_code < 500
docs: Accepts a fully-qualified url, or regex.
          Returns True if successful, False if not successful.