def _build_response(self, text):
        logger.debug("CurlSession: building response from %s" % text)
        raw_response = self._parse_http(text)
        response = requests.models.Response()
        response.encoding = 'utf-8'
        response.status_code = raw_response.status
        response.headers = dict(raw_response.getheaders())
        response._content = raw_response.read()
        return response
dataset/ETHPy150Open bgreenlee/sublime-github/sublime_requests.py/CurlSession._build_response/original