'Render (thereby finalizing) the content of the response.
If the content has already been rendered, this is a no-op.
Returns the baked response instance.'

def render(self):

    if (not self._is_rendered):
        self._set_content(self.rendered_content)
        for post_callback in self._post_render_callbacks:
            post_callback(self)
    return self
