You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Merge default request config with local customizations [SPR-12583] #17184
Before #17144, only the local customizations on the factory were available to each request and the defaults of the client were always ignored.
If the factory is defined with HttpClient, its default settings are taken into account as long as no local customizations are made. Therefore, all customizations should be set in the created client.
We can do better as from HttpComponents 4.4 since the default config of the HttpClient can be accessed. In that case we can retrieve that config and merge it with our local customizations instead of overriding everything else.
Activity