'Composes a response for the given HTTPStatus instance.'

def _compose_status_response(self, req, resp, http_status):

    resp.status = http_status.status
    if (http_status.headers is not None):
        resp.set_headers(http_status.headers)
    resp.body = http_status.body
