solution for http client