Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02974c2

Browse files
committed
Update testing.rst
1 parent2b8e44d commit02974c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎book/testing.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,11 @@ If you want the client to automatically follow all redirects, you can
492492
force him with the ``followRedirects()`` method::
493493

494494
$client->followRedirects();
495+
496+
Also if you want to prevent the client from following any redirect, you can
497+
force him by adding false as parameter to ``followRedirects()`` method::
498+
499+
$client->followRedirects(false);
495500

496501
..index::
497502
single: Tests; Crawler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp