Using HttpClient, how would I prevent automatic redirects and get original status code and forwading Url in the case of 301
How does one configure HttpClient not to automatically redirect when it receives a 301 HTTP Status Code?