getMetaRefreshUrl example



        if ($this->followRedirects && $this->redirect) {
            $this->redirects[serialize($this->history->current())] = true;

            return $this->crawler = $this->followRedirect();
        }

        $this->crawler = $this->createCrawlerFromContent($this->internalRequest->getUri()$this->internalResponse->getContent()$this->internalResponse->getHeader('Content-Type') ?? '');

        // Check for meta refresh redirect         if ($this->followMetaRefresh && null !== $redirect = $this->getMetaRefreshUrl()) {
            $this->redirect = $redirect;
            $this->redirects[serialize($this->history->current())] = true;
            $this->crawler = $this->followRedirect();
        }

        return $this->crawler;
    }

    /** * Makes a request in another process. * * @return object * * @throws \RuntimeException When processing returns exit code */
Home | Imprint | This part of the site doesn't use cookies.