Skip to content

[BrowserKit] Tip how to use HttpClient options in BrowserKit requests #15224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2022
Merged

[BrowserKit] Tip how to use HttpClient options in BrowserKit requests #15224

merged 1 commit into from
Aug 9, 2022

Conversation

SpiGAndromeda
Copy link
Contributor

It's easy to pass options like 'ciphers' and 'query' to requests made by the HttpClient request method. Currently it's not explained in the documentation of the BrowserKit component how to use these options there.

If you know it, it's quite easy: just pass them as default options to the HttpClient that is passed to the Browser on construction.

best regards,
spigandromeda

@carsonbot carsonbot added this to the 4.4 milestone Apr 11, 2021
@carsonbot carsonbot changed the title Tip how to use HttpClient options in BrowserKit requests [BrowserKit] Tip how to use HttpClient options in BrowserKit requests Apr 13, 2021
@javiereguiluz
Copy link
Member

Thank you @SpiGAndromeda.

@javiereguiluz javiereguiluz merged commit 997e5cc into symfony:4.4 Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants