mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
The spring.http.clients.cookie-handling property and HttpClientSettings.cookieHandling() were honored by every imperative ClientHttpRequestFactoryBuilder and by the Jetty, JDK and Reactor ClientHttpConnectorBuilders, but HttpComponentsHttpAsyncClientBuilder ignored the setting. As a result, a WebClient backed by Apache HttpComponents kept storing cookies even when cookie handling was disabled. Map the setting to the default request config's cookie spec, as HttpComponentsHttpClientBuilder already does, and document the property alongside the other global HTTP client settings. See gh-51724 Signed-off-by: Hyun Lee <dlwhdugs4147@gmail.com>