HttpClientFactory should return a CloseableHttpClient

Description

In advance to the default HttpClient the CloseableHttpClient returns a CloseableHttpResponse which can get auto closed in a try-catch block like

This should reduce errors in dealing with non-closed responses.

Assignee

Stefan Seifert

Reporter

Christoph Nagel

Labels

None

Components

Affects versions

Priority

Minor
Configure