See requests_redirectable.
In reply to Re^5: Authenticate via REST::Client against Rundeck API by hippo in thread Authenticate via REST::Client against Rundeck API by XavierFR