Refining done in httpResponse class