@classmethod
    def from_httpresponse(cls, response):
        return cls(response.code, response.read(),
                   dict(response.headers), response.msg, response)
Create a Response object based on an httplib.HTTPResponse object.
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/pyactiveresource/connection.py/Response.from_httpresponse