Fixed a http client Bug