Add HttpOptions::setHeader() to add or replace a single header
Allow mocking start_time info in MockResponse
Add MockResponse::fromFile() and JsonMockResponse::fromFile() methods to help using fixtures files
Add ThrottlingHttpClient to enable limiting the number of requests within a certain period
Deprecate the setLogger() methods of the NoPrivateNetworkHttpClient, TraceableHttpClient and ScopingHttpClient classes, configure the logger of the wrapped clients directly instead
7.0
Remove implementing Http\Message\RequestFactory from HttplugClient
6.4
Add HarFileResponseFactory testing utility, allow to replay responses from .har files
Add max_retries option to RetryableHttpClient to adjust the retry logic on a per request level
Add PingWehookMessage and PingWebhookMessageHandler
Enable using EventSourceHttpClient::connect() for both GET and POST
6.3
Add option crypto_method to set the minimum TLS version and make it default to v1.2
Add UriTemplateHttpClient to use URI templates as specified in the RFC 6570
Add ServerSentEvent::getArrayData() to get the Server-Sent Event's data decoded as an array when it's a JSON payload
Allow array of urls as base_uri option value in RetryableHttpClient to retry on a new url each time
Add JsonMockResponse, a MockResponse shortcut that automatically encodes the passed body to JSON and sets the content type to application/json by default
Support file uploads by nesting resource streams in option "body"
6.2
Make HttplugClient implement Psr\Http\Message\RequestFactoryInterface, StreamFactoryInterface and UriFactoryInterface
Deprecate implementing Http\Message\RequestFactory, StreamFactory and UriFactory on HttplugClient
Add withOptions() to HttplugClient and Psr18Client
6.1
Allow yielding Exception from MockResponse's $body to mock transport errors
Remove credentials from requests redirected to same host but different port
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps symfony/http-client from 6.3.7 to 7.1.7.
Release notes
Sourced from symfony/http-client's releases.
... (truncated)
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
90ab2a4
Merge branch '6.4' into 7.105d88cb
Merge branch '5.4' into 6.45962356
Merge branch '6.4' into 7.1224124d
bug #58704 [HttpClient] fix for HttpClientDataCollector fails if proc_open is...aa7bebe
[HttpClient] Fix Process-based escaping in HttpClientDataCollectore9b0846
fix for HttpClientDataCollector fails if proc_open is disabled via php.ini . ...ebcaeea
[HttpClient] Filter private IPs before connecting when Host == IP274e2f6
Fix typo in deprecation message5620136
Merge branch '6.4' into 7.1509d0e8
[HttpClient] Fix class requirement messageDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show