'Convert an HTTPResponse.HTTPResponse object to a httplib.httpresponse
subclass that I created in keepalive.
:param original_response: HTTPResponse.HTTPResponse object
:return: httplib.httpresponse subclass'

def _http_resp_2_httplib(self, original_response, mangled_response):

    ka_resp = MangledKeepAliveHTTPResponse()
    ka_resp.set_body(mangled_response.get_body())
    ka_resp.headers = mangled_response.get_headers()
    ka_resp.code = mangled_response.get_code()
    ka_resp._url = mangled_response.get_uri().url_string
    ka_resp.msg = original_response.msg
    ka_resp.id = original_response.id
    ka_resp.set_wait_time(original_response.get_wait_time())
    ka_resp.encoding = mangled_response.charset
    return ka_resp
