syntax upgrade httpClient