Skip to content
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

[HttpClient] Explain how to mock TransportExceptions that occur before headers are received #19997

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Jun 27, 2024

The error option value was previously undocumented.

See symfony/symfony#57081 (comment) for the discussion leading to this.

PR based on 6.4 since the section was not yet present in 5.4 docs.

http_client.rst Outdated Show resolved Hide resolved
http_client.rst Outdated Show resolved Hide resolved
@javiereguiluz javiereguiluz force-pushed the mock-response-transport-exception branch from bd0e02f to 6fde4e0 Compare June 27, 2024 10:46
@javiereguiluz
Copy link
Member

Thank you Matthias.

@javiereguiluz javiereguiluz merged commit ef2613f into symfony:6.4 Jun 27, 2024
3 checks passed
@mpdude mpdude deleted the mock-response-transport-exception branch July 1, 2024 18:05
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.

None yet

4 participants