rebuild httpclient logic