Added httpresponse to string function