21 Commits

Author SHA1 Message Date
Alexandre Daubois
bc353ea5b1 [HttpClient] Add support for the max_connect_duration option 2026-01-05 14:30:16 +01:00
Nicolas Grekas
c30d91a1de Merge branch '6.4' into 7.1
* 6.4:
  [HttpClient] Resolve hostnames in NoPrivateNetworkHttpClient
  [security-http] Check owner of persisted remember-me cookie
2024-11-13 14:40:27 +01:00
Nicolas Grekas
cb4073c905 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
3b643b83f8 [HttpClient] Resolve hostnames in NoPrivateNetworkHttpClient 2024-11-13 13:18:12 +01:00
Christian Flothmann
bfdc86b35f rename addHeader() to setHeader() 2023-12-26 17:19:00 +01:00
Thomas Durand
ba56384b45 [HttpClient] Add HttpOptions->addHeader as a shortcut to add an header in an existing options object 2023-12-08 15:41:47 +01:00
Thomas Calvet
e46dc68014 [HttpClient] Add UriTemplateHttpClient 2023-02-24 09:08:08 +01:00
Jérôme Tamarelle
0b6714d5ee Hide sensitive information with SensitiveParameter attribute 2022-07-11 08:49:17 +02:00
Nicolas Grekas
3c6fc53a3d Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
  [Mime] Throw exception when body in Email attach method is not ok
  [VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
  [Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
  fix merge
  Bootstrap 4 fieldset for row errors
  [Form] Fix same choice loader with different choice values
  [Filesystem] Safeguard (sym)link calls
  Fix dumping extension config without bundle
  [HttpClient] Honor "max_duration" when replacing requests with async decorators
  [HttpClient] Add missing HttpOptions::setMaxDuration()
  [HttpFoundation] [Session] Overwrite invalid session id
2022-05-21 15:33:31 +02:00
Nicolas Grekas
0366fe9d67 [HttpClient] Add missing HttpOptions::setMaxDuration() 2022-05-17 16:14:05 +02:00
Alexander M. Turek
2c26c8b648 [HttpClient] Add types to private properties
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-09-17 10:56:18 +02:00
Nicolas Grekas
ec48fb69e1 Add return types - batch 1/n 2021-08-13 09:43:57 +02:00
Nicolas Grekas
b857c326a1 Add union types 2021-06-29 11:21:24 +02:00
Peter Schultz
e42b97db7a [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
Fabien Potencier
0cb55fdd39 removed @experimental annotations 2019-06-29 18:43:50 +02:00
Pol Dellaiera
b709518d17 [HttpClient] Add tests - update code style nits. 2019-04-09 11:46:29 +02:00
Fabien Potencier
c915d651ab [HttpClient] added CachingHttpClient 2019-03-22 16:52:17 +01:00
Kévin Dunglas
e5750c889f [HttpClient] Fix HttpOptions::setAuthBearer() 2019-03-14 10:55:31 +01:00
Kévin Dunglas
0d53ac302b [HttpClient] Allow to pass user/pw as an array 2019-03-14 08:32:36 +01:00
Kévin Dunglas
2c58d6a3fa [HttpClient] Add new bearer option 2019-03-14 08:15:49 +01:00
Nicolas Grekas
cdf004a606 [HttpClient] introduce the component 2019-03-07 17:16:39 +01:00