I\'m connecting to a remote server with apache http client. the remote server sends a redirect, and i want to achieve that my client isn\'t following the redirect automatica
this worked for me CloseableHttpClient client = HttpClientBuilder.create().disableRedirectHandling().build()
CloseableHttpClient client = HttpClientBuilder.create().disableRedirectHandling().build()