code: public <R extends Request<T>> R setRedirectPolicy(RedirectPolicy redirectPolicy) {
          checkIfActive();
          this.redirectPolicy = redirectPolicy;
          return (R) this;
      }
docs: Sets the redirect policy for this request.
  
  @return This Request object to allow for chaining.