Skip to content

Commit

Permalink
#35 switch off automatic handling redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrSankin committed Jan 27, 2019
1 parent 733ba86 commit e1e7ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/amihaiemil/zold/RestfulZoldWts.java
Expand Up @@ -62,6 +62,7 @@ public RestfulZoldWts(final String key) {
.setMaxConnTotal(10)
.addInterceptorFirst(new XZoldWtsRequestHeader(key))
.addInterceptorFirst(new UserAgentRequestHeader())
.disableRedirectHandling()
.build()
);
}
Expand Down

0 comments on commit e1e7ac7

Please sign in to comment.