must pass http_client