File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Original file line number Diff line number Diff line change @@ -429,16 +429,16 @@ For specific details on using the profiler inside a test, see the
429
429
Redirecting
430
430
~~~~~~~~~~~
431
431
432
- When a request returns a redirect response, the client automatically follows
433
- it. If you want to examine the Response before redirecting, you can force
434
- the client to not follow redirects with the ``followRedirects() `` method::
435
-
436
- $client->followRedirects(false);
437
-
438
- When the client does not follow redirects, you can force the redirection with
439
- the ``followRedirect() `` method::
432
+ When a request returns a redirect response, the client does not follow
433
+ it automatically. You can examine the response and force a redirection
434
+ afterwards with the ``followRedirect() `` method::
440
435
441
436
$crawler = $client->followRedirect();
437
+
438
+ If you want the client to automatically follow all redirects, you can
439
+ force him with the ``followRedirects() `` method::
440
+
441
+ $client->followRedirects();
442
442
443
443
.. index ::
444
444
single: Tests; Crawler
You can’t perform that action at this time.
0 commit comments