public Builder setRedirectsEnabled(final boolean redirectsEnabled) {
            this.redirectsEnabled = redirectsEnabled;
            return this;
        }
Determines whether redirects should be handled automatically.
<p>
Default: {@code true}
</p>

@return this instance.
httpclient5/src/main/java/org/apache/hc/client5/http/config/RequestConfig.java