projectkudu/kudu — pull request #242 by HenrikFrystykNielsen (2012-12-01 00:44:00+00:00)
Title: Several test updates:

1) Updated HttpClientHelper to expose statics for creating an HttpClient and an HttpClientHandler which is correctly set up to handle authentication. It uses a CredentialsCache along with preauthentication which handles authentication across redirects.

2) Updated KuduRemoteClientBase to make not force a teminating "/" on the base URI. This makes it possible to VFS to use the client base. Also cleaned up the class so that it is easier to use,

3) Added RemoteVfsManager to ApplicationManager which correct base URI and credentials.

4) Updated places which created an HttpClientHandler manually to instead use HttpClientHelper.CreateClientHandler