Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow the REST client to follow redirects
  • Loading branch information
seanf committed Oct 14, 2013
1 parent 5ac43d2 commit 8db9eb1
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -71,6 +71,7 @@ public ZanataProxyFactory(URI base, String username, String apiKey,
sslCertDisabled ? createClientExecutor() : null;

crf = new ClientRequestFactory(clientExecutor, null, fixBase(base));
crf.setFollowRedirects(true);
registerPrefixInterceptor(new TraceDebugInterceptor(logHttp));
registerPrefixInterceptor(new ApiKeyHeaderDecorator(username, apiKey,
clientApiVersion.getVersionNo()));
Expand Down

0 comments on commit 8db9eb1

Please sign in to comment.