Skip to content

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

Closed

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

Activity

  1. added
    type: enhancement
    in: web
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions