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
5.4
Add MockHttpClient::setResponseFactory() method to be able to set response factory after client creating
5.3
Implement HttpClientInterface::withOptions() from symfony/contracts v2.4
Add DecoratorTrait to ease writing simple decorators
5.2.0
added AsyncDecoratorTrait to ease processing responses without breaking async
added support for pausing responses with a new pause_handler callable exposed as an info item
added StreamableInterface to ease turning responses into PHP streams
added MockResponse::getRequestMethod() and getRequestUrl() to allow inspecting which request has been sent
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)
Updates the requirements on symfony/http-client to permit the latest version.
Release notes
Sourced from symfony/http-client's releases.
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
6cdf6cd
[HttpClient] Psr18Client: parse HTTP Reason Phrase for Response04784c6
[HttpClient] Fix TraceableResponse if response has no destruct methodDependabot 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