AMBARI-6292. Python client caches curl flags between requests causing problems(Greg Hill via Subin)