28 Commits

Author SHA1 Message Date
Kostiantyn Miakshyn a108a53ce0 [HttpClient] Add support of the persistent cURL handles 2026-01-19 18:42:24 +01:00
Alexandre Daubois e0a626f4c4 [HttpClient] Add support for the max_connect_duration option 2026-01-05 14:30:16 +01:00
Nicolas Grekas 21dd77dfce Merge branch '5.4' into 6.4
* 5.4:
  [HttpClient] Various cleanups after recent changes
  do not add child nodes to EmptyNode instances
  consider write property visibility to decide whether a property is writable
  add comment explaining why HttpClient tests are run separately
2024-11-25 12:59:11 +01:00
Nicolas Grekas fbfd73095a [HttpClient] Various cleanups after recent changes 2024-11-25 10:13:00 +01:00
Nicolas Grekas 25bdd38406 Merge branch '5.4' into 6.4
* 5.4:
  [HttpClient] Resolve hostnames in NoPrivateNetworkHttpClient
  [security-http] Check owner of persisted remember-me cookie
2024-11-13 14:40:18 +01:00
Nicolas Grekas 8d249f4580 [HttpClient] Resolve hostnames in NoPrivateNetworkHttpClient 2024-11-13 13:18:12 +01:00
Nicolas Grekas 3614028d6c Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas 6f89e7e270 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Nicolas Grekas 847b998a32 [HttpClient] Add option crypto_method to set the minimum TLS version and make it default to v1.2 2023-05-10 11:44:30 +02:00
Nicolas Grekas 50a162f67b Merge branch '5.4' into 6.2
* 5.4:
  [Cache] Removing null coalescing assignment operator on 5.4
  [Cache] Fix storing binary keys when using pgsql
  [FrameworkBundle] Add missing monolog channel tag for messenger services
  [FrameworkBundle] Improve documentation about translation:extract --sort option
  [VarDumper] Disable links for IntelliJ platform
  [Notifier] Add bridge documentation
  [HttpClient] Add hint about `timeout` and `max_duration` options
  [HttpFoundation] Use separate caches for IpUtils checkIp4 and checkIp6
  [FrameworkBundle] Fix wiring session.handler when handler_id is null
  [FrameworkBundle] Workflow - Fix LogicException about a wrong configuration of "enabled" node
2023-03-29 23:42:15 +02:00
Hugo Alliaume 330b698dcd [HttpClient] Add hint about timeout and max_duration options 2023-03-24 11:00:28 +01:00
Alexander M. Turek 265f03fed0 Merge branch '5.4' into 6.0
* 5.4:
  [Console] Restore psr/log >= 3.0 conflict
  [Security] Make the abstract Voter class implement CacheableVoterInterface
  Add generic types to traversable implementations
  [Security] Fix TypeError message
  [Security] Fix deprecation layer
  [FrameworkBundle] Add completion for workflow:dump
  Fix cancel button
  Fix misleading error on missing provider with authenticator manager
  Don't limit retries of toolbar loading
2021-11-03 14:44:55 +01:00
Alexander M. Turek ec82e57b5b Add generic types to traversable implementations 2021-11-03 10:24:47 +01:00
Nicolas Grekas 9dd0b1a6c8 Turn @method annotations into real method declarations 2021-09-07 14:43:40 +02:00
Nicolas Grekas f1d979c4dd Bump Contracts to 2.5 2021-06-09 15:36:38 +02:00
Nicolas Grekas ad87ba5134 [HttpClient] Add HttpClientInterface::withOptions() 2021-02-25 17:38:04 +01:00
Alexander M. Turek f1aa62591e Add parameter type declarations to contracts. 2019-11-09 10:18:34 +01:00
Peter Schultz 088bae75cf [HttpClient] allow arbitrary JSON values in requests
Allow arbitrary values in the "json" request option. Previously values were
limitated to arrays and objects of type JsonSerializable. This doesn't account
for scalar values and classes with public properties (which don't need to
implement JsonSerializable), all of which are perfectly acceptable arguments to
json_encode.
2019-11-07 13:44:51 +01:00
Nicolas Grekas 6f1d52f542 [HttpClient] allow option "buffer" to be a stream resource 2019-10-21 18:05:25 +02:00
Thomas Calvet 43e2bd1e66 [HttpClient] add "max_duration" option 2019-08-05 12:08:40 +02:00
Nicolas Grekas 13ec25b163 [HttpClient] use "idle" instead of "inactivity" when telling about the timeout option 2019-08-04 17:49:22 +02:00
Nicolas Grekas 57a5581e6b [HttpClient] Preserve the case of headers when sending them 2019-07-31 13:44:32 +02:00
Mehdi Achour 1089741c7c [HttpClient] fix typo 2019-04-27 15:29:50 +01:00
Gregor Harlan 5c0b558cba [Contracts] fix phpdoc for http-client (user_data) 2019-03-26 00:17:13 +01:00
Fabien Potencier 54421864f0 [HttpClient] added CachingHttpClient 2019-03-22 16:52:17 +01:00
Kévin Dunglas 4221fd434c [HttpClient] Allow to pass user/pw as an array 2019-03-14 08:32:36 +01:00
Kévin Dunglas abae6bc9d5 [HttpClient] Add new bearer option 2019-03-14 08:15:49 +01:00
Nicolas Grekas ccb9084da4 [Contracts] introduce HttpClient contracts 2019-03-07 17:16:38 +01:00