@classmethod
def from_http_response(cls, resp):
    """
        Build a ``Response`` from the provided ``HTTPResponse`` object.

        This function will call `.read()` to consume the body of the ``HTTPResponse`` object.

        :param resp: ``HTTPResponse`` object to build the ``Response`` from
        :type resp: ``HTTPResponse``
        :rtype: ``Response``
        :returns: A new ``Response``
        """
    return cls(status=resp.status, body=resp.read(), reason=getattr(resp,
        'reason', None), msg=getattr(resp, 'msg', None))
