httpservices/src/main/java/ucar/httpservices/HTTPSession.java
public HTTPSession setFollowRedirects(boolean tf)
    {
        localsettings.put(Prop.HANDLE_REDIRECTS, (Boolean) tf);
        this.cachevalid = false;
        return this;
    }
public HTTPSession setFollowRedirects(boolean tf)
    {
        localsettings.put(Prop.HANDLE_REDIRECTS, (Boolean) tf);
        this.cachevalid = false;
        return this;
    }
Enable/disable redirection following
Default is yes.