Skip to content

Merge default request config with local customizations [SPR-12583] #17184

Closed
@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-12583 and commented

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.


Issue Links:

Referenced from: commits bce145c

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions