Fix determine http client.