remove the magic arguments of http_client.