Skip to content

Commit cc800dd

Browse files
committed
Tip added to explain how to use HttpClient options in BrowserKit requests.
1 parent 0c57c73 commit cc800dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/browser_kit.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,12 @@ dedicated web crawler or scraper such as `Goutte`_::
317317
'.table-list-header-toggle a:nth-child(1)'
318318
)->text());
319319

320+
.. tip::
321+
322+
You can also use HTTP client options like 'ciphers', 'auth_basic' and 'query'.
323+
They have to be passed as the default options argument to the client,
324+
which is used by the HTTP browser.
325+
320326
.. versionadded:: 4.3
321327

322328
The feature to make external HTTP requests was introduced in Symfony 4.3.

0 commit comments

Comments
 (0)