new NTCredentials(proxyUsername, proxyPassword, proxyWorkstation, proxyDomain));
}
// Add a request interceptor that sets up proxy authentication pre-emptively if configured
if (config.isPreemptiveBasicProxyAuth()){
httpClient.addRequestInterceptor(new PreemptiveProxyAuth(proxyHttpHost), 0);
}
}
/* Accept Gzip response if configured */
if (config.useGzip()) {